]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.drivers/libata-ata_piix-add-VGN-BX297XP-to-broken-suspend-list
Revert "Disable build of xen kernel."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / libata-ata_piix-add-VGN-BX297XP-to-broken-suspend-list
1 From: Tejun Heo <tj@kernel.org>
2 Subject: ata_piix: VGN-BX297XP wants the controller power up on suspend
3 References: bko#10293, bnc#490517
4
5 Sony VGN-BX297XP fails suspend if the controller is powered down when
6 calling into ACPI suspend. Add the machine to piix_broken_suspend
7 list.
8
9 This problem was reported by GNUtoo@no-log.org on bko#10293.
10
11 Signed-off-by: Tejun Heo <tj@kernel.org>
12 Cc: Rafael J. Wysocki <rjw@sisk.pl>
13 Reported-by: GNUtoo@no-log.org
14 Signed-off-by: Tejun Heo <teheo@suse.de>
15 ---
16 drivers/ata/ata_piix.c | 7 +++++++
17 1 file changed, 7 insertions(+)
18
19 Index: linux-2.6.27-SLE11_BRANCH/drivers/ata/ata_piix.c
20 ===================================================================
21 --- linux-2.6.27-SLE11_BRANCH.orig/drivers/ata/ata_piix.c
22 +++ linux-2.6.27-SLE11_BRANCH/drivers/ata/ata_piix.c
23 @@ -1104,6 +1104,13 @@ static int piix_broken_suspend(void)
24 DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"),
25 },
26 },
27 + {
28 + .ident = "VGN-BX297XP",
29 + .matches = {
30 + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
31 + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-BX297XP"),
32 + },
33 + },
34
35 { } /* terminate list */
36 };