]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ata_piix: add borked Tecra M4 to broken suspend list
authorTejun Heo <tj@kernel.org>
Sat, 29 Nov 2008 13:37:21 +0000 (22:37 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Dec 2008 18:48:45 +0000 (13:48 -0500)
commit1eedb4a90c958d8d59e0e4f19c297b445df21cf9
tree08ddd40946afb40046bcb6b1eecade1bfee236db
parentd9d060a98ff89fe0f86e24c9c0c3d2f0c566781c
ata_piix: add borked Tecra M4 to broken suspend list

Tecra M4 sometimes forget what it is and reports bogus data via DMI
which makes the machine evade broken suspend matching and thus fail
suspend/resume.  This patch updates piix_broken_suspend() such that it
can match such case.  As the borked DMI data is a bit generic,
matching many entries to make the match more specific is necessary.
As the usual DMI matching is limited to four entries, this patch uses
hard coded manual matching.

This is reported by Alexandru Romanescu.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alexandru Romanescu <a_romanescu@yahoo.co.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c