mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]X86:BUG_FIX iMac10,1 reboot issue.
@ 2010-05-25 23:24 Justin P. Mattock
  0 siblings, 0 replies; only message in thread
From: Justin P. Mattock @ 2010-05-25 23:24 UTC (permalink / raw)
  To: x86; +Cc: hpa, linux-kernel, Justin P. Mattock

I somehow ran into this while doing a google search:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/499497

sounds vary similar to what my machine(iMac9,1) was doing.
keep in mind I dont have the hardware(if I had the cash I would),
nor the gentlemens e-mail address to contact them to test this
out.(so hopefully somebody on kernel.org, can supply the info
and/or test this out). 

cheers,

 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 8e1aac8..6ed4231 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -469,6 +469,14 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "iMac9,1"),
 		},
 	},
+	{	/* Handle problems with rebooting on the iMac10,1. */
+		.callback = set_pci_reboot,
+		.ident = "Apple iMac10,1",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "iMac10,1"),
+		},
+	},
 	{ }
 };
 
-- 
1.7.1.rc1.21.gf3bd6


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-25 23:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-25 23:24 [PATCH]X86:BUG_FIX iMac10,1 reboot issue 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

all inboxes | Powered by JetHome®