lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:x86/urgent] x86: Add iMac9,1 to pci_reboot_dmi_table
On 02/16/2010 03:33 PM, tip-bot for Justin P. Mattock wrote:
> Commit-ID: 30f541e8251d3a708544808292d96eaecbe7e3ab
> Gitweb: http://git.kernel.org/tip/30f541e8251d3a708544808292d96eaecbe7e3ab
> Author: Justin P. Mattock<justinmattock@gmail.com>
> AuthorDate: Tue, 16 Feb 2010 15:17:29 -0800
> Committer: H. Peter Anvin<hpa@zytor.com>
> CommitDate: Tue, 16 Feb 2010 15:26:29 -0800
>
> x86: 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.
>
> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
> LKML-Reference:<1266362249-3337-1-git-send-email-justinmattock@gmail.com>
> Signed-off-by: H. Peter Anvin<hpa@zytor.com>
> Cc:<stable@kernel.org>
> ---
> 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"),
> + },
> + },
> { }
> };
>
>


o.k,
I'll need to read up on what a tip-bot
is.(main thing now people can enjoy a reboot
instead of shutting down).

cheers.

Justin P. Mattock


\
 
 \ /
  Last update: 2010-02-17 00:49    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site