linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: gimli <gimli@dark-green.com>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support
Date: Tue, 02 Nov 2010 08:21:06 +0100	[thread overview]
Message-ID: <f11db0f4867ff147eee56d54710390ea@mognix.dark-green.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
mbp-nvidia-bl driver.

Signed-off-by: Edgar (gimli) Hucek <gimli@dark-green.com>


[-- Attachment #2: mbp_backlight_macbookair.patch --]
[-- Type: text/plain, Size: 731 bytes --]

--- a/drivers/video/backlight/mbp_nvidia_bl.c.orig	2010-10-26 14:41:15.656640822 +0200
+++ b/drivers/video/backlight/mbp_nvidia_bl.c	2010-10-26 14:42:07.976640822 +0200
@@ -335,6 +335,24 @@
 		},
 		.driver_data	= (void *)&nvidia_chipset_data,
 	},
+	{
+		.callback	= mbp_dmi_match,
+		.ident		= "MacBookAir 3,1",
+		.matches	= {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,1"),
+		},
+		.driver_data	= (void *)&nvidia_chipset_data,
+	},
+	{
+		.callback	= mbp_dmi_match,
+		.ident		= "MacBookAir 3,2",
+		.matches	= {
+			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,2"),
+		},
+		.driver_data	= (void *)&nvidia_chipset_data,
+	},
 	{ }
 };
 

             reply	other threads:[~2010-11-02  7:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-02  7:21 gimli [this message]
2010-11-02 17:02 ` [PATCH 5/6] MacBookAir3,1(3,2) mbp-nvidia-bl support Richard Purdie

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=f11db0f4867ff147eee56d54710390ea@mognix.dark-green.com \
    --to=gimli@dark-green.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).