Skip to contentSkip to conversation

Resend_Add_iMac9,1_to_pci_reboot_dmi_table

PATCH New Justin P. Mattock 1 participant 1 message Feb 13, 2010 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Resend_Add_iMac9,1_to_pci_reboot_dmi_table

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.

---
 arch/x86/kernel/reboot.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/x86/kernel/reboot.c +8 -0
index 704bddc..8e1aac8 100644
@@ -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"),
+		},
+	},
 	{ }
 };
 
Signature · 1 line
1.6.5.GIT