All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Add an Apple iMac9,1 DMI entry to reboot.c so the machine reboot's properly.
Date: Tue, 09 Feb 2010 07:04:32 -0800	[thread overview]
Message-ID: <4B717980.2030802@gmail.com> (raw)
In-Reply-To: <1265484976-13414-1-git-send-email-justinmattock@gmail.com>

Whats the status if this patch?

> On the iMac9,1 sudo /sbin/reboot results in
> a black 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..2de6645 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 Apple 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"),
> +		},
> +	 },
>   	{ }
>   };
>


  reply	other threads:[~2010-02-09 15:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-06 19:36 [PATCH] Add an Apple iMac9,1 DMI entry to reboot.c so the machine reboot's properly Justin P. Mattock
2010-02-09 15:04 ` Justin P. Mattock [this message]
2010-02-12  9:15   ` Justin P. Mattock
2010-02-12 10:02     ` Mihai Donțu
2010-02-12 10:48       ` Justin P. Mattock
2010-02-12 10:49   ` Justin P. Mattock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B717980.2030802@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.