The following commit has been merged in the linux branch: commit 05154752cf3767c544b65b5e340793d40b3f1229 Author: Gottfried Haider gottfried.haider@gmail.com Date: Mon Nov 2 11:51:11 2009 +0100
x86: Add reboot quirk for 3 series Mac mini
Reboot does not work out of the box on my "Early 2009" Mac mini (3,1). Detect this machine via DMI as we do for recent MacBooks.
Signed-off-by: Gottfried Haider gottfried.haider@gmail.com Cc: Ozan Çağlayan ozan@pardus.org.tr Cc: Paul Mackerras paulus@samba.org Signed-off-by: Ingo Molnar mingo@elte.hu
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index a1a3cdd..f930787 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -436,6 +436,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro5"), }, }, + { /* Handle problems with rebooting on Apple Macmini3,1 */ + .callback = set_pci_reboot, + .ident = "Apple Macmini3,1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Macmini3,1"), + }, + }, { } };