]> git.baikalelectronics.ru Git - kernel.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)
commit304016ac4099a776ea6f90159cd3326e2ec6f88c
tree08ddd40946afb40046bcb6b1eecade1bfee236db
parent75589f712d05cfc470197bf7149b275dd4f7e43b
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