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

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


commit 6f7506e776a19351a3bed5997e9ddb2d82e887d2
Author: Dave Jones <davej at redhat.com>
Date:   Wed Oct 19 13:15:47 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 534676b..5617817 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -653,6 +653,7 @@ Patch393: acpi-ec-add-delay-before-write.patch
 Patch394: linux-2.6-acpi-debug-infinite-loop.patch
 Patch395: acpi-update-battery-information-on-notification-0x81.patch
 Patch396: linux-2.6-acpi-fix-alias.patch
+Patch397: acpi-sony-nonvs-blacklist.patch
 
 Patch450: linux-2.6-input-kill-stupid-messages.patch
 Patch452: linux-2.6.30-no-pcspkr-modalias.patch
@@ -1391,6 +1392,7 @@ ApplyPatch linux-2.6-acpi-debug-infinite-loop.patch
 ApplyPatch acpi-update-battery-information-on-notification-0x81.patch
 ApplyPatch linux-2.6-defaults-no-pm-async.patch
 ApplyPatch linux-2.6-acpi-fix-alias.patch
+ApplyPatch acpi-sony-nonvs-blacklist.patch
 
 # Various low-impact patches to aid debugging.
 ApplyPatch linux-2.6-debug-sizeof-structs.patch
@@ -2281,6 +2283,9 @@ fi
 # and build.
 
 %changelog
+* Wed Oct 19 2011 Dave Jones <davej at redhat.com>
+- Add Sony VGN-FW21E to nonvs blacklist. (rhbz 641789)
+
 * Fri Oct 14 2011 Josh Boyer <jwboyer at redhat.com>
 - Add patches to fix RHBZ #663186
 


More information about the scm-commits mailing list