diff mbox

X86: DMI match for the Sony VGN-Z540N as it needs BIOS reboot

Message ID 1242963350.32574.53.camel@rzhang-dt (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Zhang, Rui May 22, 2009, 3:35 a.m. UTC
Not sure where I should send the patch to.

x86: DMI match for the Sony VGN-Z540N as it needs BIOS reboot
http://bugzilla.kernel.org/show_bug.cgi?id=12901

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 file changed, 8 insertions(+)



--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: linux-2.6/arch/x86/kernel/reboot.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/reboot.c
+++ linux-2.6/arch/x86/kernel/reboot.c
@@ -232,6 +232,14 @@  static struct dmi_system_id __initdata r
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell DXP061"),
 		},
 	},
+	{	/* Handle problems with rebooting on Sony VGN-Z540N */
+		.callback = set_bios_reboot,
+		.ident = "Sony VGN-Z540N",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"),
+		},
+	},
 	{ }
 };