X86 platform drivers
 help / color / mirror / Atom feed
From: J Witteveen <jwitteve@liacs.nl>
To: linux-kernel@vger.kernel.org
Cc: mjg@redhat.com, gregkh@suse.de, platform-driver-x86@vger.kernel.org
Subject: [PATCH] Samsung Laptop platform driver: support N510
Date: Sun, 3 Jul 2011 13:15:44 +0200	[thread overview]
Message-ID: <20110703111544.GA21626@liacs.nl> (raw)

Dear all,

It appears my previous message has gone unnoticed.
This is my second shot. The patch below adds the N510 netbook to the list of supported hardware.

Regards,
- Jouke


----- Forwarded message from J Witteveen <jwitteve@liacs.nl> -----

Date: Sun, 26 Jun 2011 17:08:55 +0200
From: J Witteveen <jwitteve@liacs.nl>
To: mjg@redhat.com
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Bcc: j.witteveen@gmail.com
Subject: Re: [PATCH] Platform: add Samsung Laptop platform driver
User-Agent: Mutt/1.5.17 (2007-11-01)

On Fri, Feb 11, 2011 at 10:17, Jouke Witteveen <j.witteveen@gmail.com> wrote:
> On Wed, Feb 9, 2011 at 23:40, Greg KH <greg@kroah.com> wrote:
>> From: Greg Kroah-Hartman <gregkh@suse.de>
>>
>> This adds the samsung-laptop driver to the kernel.  It now supports
>> all known Samsung laptops.
>>
>
> I don't see the N510, is this intentional? The netbook does not differ
> that much from some that are included.
>

The N510 benefits from this code as well. Below is a patch to include support.

Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>

Thanks,
- Jouke

--- a/drivers/platform/x86/samsung-laptop.c	2011-06-26 16:18:06.517840468 +0200
+++ b/drivers/platform/x86/samsung-laptop.c	2011-06-26 16:19:14.677574644 +0200
@@ -521,6 +521,16 @@ static struct dmi_system_id __initdata s
 		.callback = dmi_check_cb,
 	},
 	{
+		.ident = "N510",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR,
+					"SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "N510"),
+			DMI_MATCH(DMI_BOARD_NAME, "N510"),
+		},
+		.callback = dmi_check_cb,
+	},
+	{
 		.ident = "X125",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR,


----- End forwarded message -----

                 reply	other threads:[~2011-07-03 11:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110703111544.GA21626@liacs.nl \
    --to=jwitteve@liacs.nl \
    --cc=gregkh@suse.de \
    --cc=j.witteveen@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@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