public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: "Lee, Chun-Yi" <joeyli.kernel@gmail.com>
Cc: mjg59@srcf.ucam.org, linux-kernel@vger.kernel.org,
	mjg@redhat.com, jlee@novell.com, Dennis.Jansen@web.de,
	linux-acpi@vger.kernel.org, trenn@suse.de
Subject: Re: [PATCH] Add Intel Poulsbo Stub Driver
Date: Wed, 1 Sep 2010 08:00:52 -0700	[thread overview]
Message-ID: <20100901150052.GA26036@suse.de> (raw)
In-Reply-To: <1283332119-26352-1-git-send-email-jlee@novell.com>

On Wed, Sep 01, 2010 at 05:08:39PM +0800, Lee, Chun-Yi wrote:
> +static struct pci_device_id pciidlist[] = {
> +	{0x8086, 0x8108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_PSB_8108}, \
> +	{0x8086, 0x8109, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_PSB_8109}, \
> +	{0, 0, 0}
> +};

Now that you have this, just use:
	MODULE_DEVICE_TABLE(pci, pciidlist);
instead of:

> +MODULE_ALIAS("pci:v00008086d00008108sv*sd*bc*sc*i*");
> +MODULE_ALIAS("pci:v00008086d00008109sv*sd*bc*sc*i*");

As the proper alias will automatically get generated from the
MODULE_DEVICE_TABLE() macro.

thanks,

greg k-h

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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01  9:08 [PATCH] Add Intel Poulsbo Stub Driver Lee, Chun-Yi
2010-09-01 15:00 ` Greg KH [this message]
2010-09-01 17:11 ` Randy Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2010-09-10  4:36 Joey Lee
2010-09-10 15:02 ` Randy Dunlap
2010-09-10  4:53 Joey Lee
2010-09-10 10:03 Joey Lee
2010-09-14  2:39 Lee, Chun-Yi
2010-09-14 17:10 ` Valdis.Kletnieks
2010-09-14 18:07 Joey Lee
2010-09-14 18:10 ` Matthew Garrett
2010-09-14 18:30   ` Valdis.Kletnieks
2010-09-15 14:24 Lee, Chun-Yi
2010-09-19 16:35 Joey Lee
2010-10-19  7:34 Joey Lee
2010-10-19 12:33 ` Matthew Garrett

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=20100901150052.GA26036@suse.de \
    --to=gregkh@suse.de \
    --cc=Dennis.Jansen@web.de \
    --cc=jlee@novell.com \
    --cc=joeyli.kernel@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=mjg@redhat.com \
    --cc=trenn@suse.de \
    /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