linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]"X86",Resend_Add_iMac9,1_to_pci_reboot_dmi_table
@ 2010-02-16 23:17 Justin P. Mattock
  2010-02-16 23:33 ` [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table tip-bot for Justin P. Mattock
  2010-02-17 12:12 ` tip-bot for Justin P. Mattock
  0 siblings, 2 replies; 4+ messages in thread
From: Justin P. Mattock @ 2010-02-16 23:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, jbarnes, akpm, rjw, hpa, Justin P. Mattock


On the iMac9,1 /sbin/reboot results in
a black mangled screen. Adding this DMI entry
gets the machine to reboot cleanly as it should.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 704bddc..8e1aac8 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -461,6 +461,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Macmini3,1"),
 		},
 	},
+	{	/* Handle problems with rebooting on the iMac9,1. */
+		.callback = set_pci_reboot,
+		.ident = "Apple iMac9,1",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
+		},
+	},
 	{ }
 };
 
-- 
1.6.5.GIT


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-17 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 23:17 [PATCH]"X86",Resend_Add_iMac9,1_to_pci_reboot_dmi_table Justin P. Mattock
2010-02-16 23:33 ` [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table tip-bot for Justin P. Mattock
2010-02-16 23:46   ` Justin P. mattock
2010-02-17 12:12 ` tip-bot for Justin P. Mattock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).