[kernel/f15] Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)

Dave Jones davej at fedoraproject.org
Wed Oct 19 17:17:42 UTC 2011


commit e8a2ce7b99b490fe43b0072b197a6fcffea11898
Author: Dave Jones <davej at redhat.com>
Date:   Wed Oct 19 13:17:37 2011 -0400

    Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)

 acpi-sony-nonvs-blacklist.patch |   19 +++++++++++++++++++
 kernel.spec                     |    5 +++++
 2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/acpi-sony-nonvs-blacklist.patch b/acpi-sony-nonvs-blacklist.patch
new file mode 100644
index 0000000..f332c64
--- /dev/null
+++ b/acpi-sony-nonvs-blacklist.patch
@@ -0,0 +1,19 @@
+diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
+index 3ed80b2..17fc718 100644
+--- a/drivers/acpi/sleep.c
++++ b/drivers/acpi/sleep.c
+@@ -390,6 +390,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
+ 	},
+ 	{
+ 	.callback = init_nvs_nosave,
++	.ident = "Sony Vaio VGN-FW21E",
++	.matches = {
++		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
++		DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW21E"),
++		},
++	},
++	{
++	.callback = init_nvs_nosave,
+ 	.ident = "Sony Vaio VGN-SR11M",
+ 	.matches = {
+ 		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
diff --git a/kernel.spec b/kernel.spec
index b785e13..86dca2a 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -586,6 +586,7 @@ Patch391: linux-2.6-acpi-video-dos.patch
 Patch393: acpi-ec-add-delay-before-write.patch
 Patch394: linux-2.6-acpi-debug-infinite-loop.patch
 Patch395: acpi-ensure-thermal-limits-match-cpu-freq.patch
+Patch396: acpi-sony-nonvs-blacklist.patch
 
 Patch450: linux-2.6-input-kill-stupid-messages.patch
 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
@@ -1151,6 +1152,7 @@ ApplyPatch linux-2.6-acpi-video-dos.patch
 ApplyPatch acpi-ec-add-delay-before-write.patch
 ApplyPatch linux-2.6-acpi-debug-infinite-loop.patch
 ApplyPatch acpi-ensure-thermal-limits-match-cpu-freq.patch
+ApplyPatch acpi-sony-nonvs-blacklist.patch
 
 # Various low-impact patches to aid debugging.
 ApplyPatch linux-2.6-debug-taint-vm.patch
@@ -1912,6 +1914,9 @@ fi
 # and build.
 
 %changelog
+* Wed Oct 19 2011 Dave Jones <davej at redhat.com>
+- Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)
+
 * Tue Oct 18 2011 Josh Boyer <jwboyer at redhat.com>
 - Add patch to fix invalid EFI remap calls from Matt Fleming
 - Add patch to fix lock inversion introduced in 3.0.7


More information about the scm-commits mailing list