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

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


commit 65525f70c42f380460effaaf857d6a3663fa02de
Author: Dave Jones <davej at redhat.com>
Date:   Wed Oct 19 13:23:28 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 5bb627a..b2d4d02 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -656,6 +656,7 @@ Patch390: linux-2.6-defaults-acpi-video.patch
 Patch391: linux-2.6-acpi-video-dos.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
@@ -1263,6 +1264,7 @@ ApplyPatch linux-2.6-defaults-acpi-video.patch
 ApplyPatch linux-2.6-acpi-video-dos.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
@@ -2084,6 +2086,9 @@ fi
 # and build.
 
 %changelog
+* Wed Oct 19 2011 Dave Jones <davej at redhat.com>
+- Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)
+
 * Wed Oct 19 2011 Chuck Ebbert <cebbert at redhat.com> 3.1.0-0.rc10.git0.1
 - Fix divide-by-zero in nouveau driver (rhbz #747129)
 


More information about the scm-commits mailing list