All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Joe Perches <joe@perches.com>
Cc: linux-kernel@vger.kernel.org, linux-geode@lists.infradead.org,
	Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [PATCH 04/19] drivers/char/hw_random: Use PCI_VDEVICE
Date: Thu, 25 Jun 2009 00:36:18 -0500	[thread overview]
Message-ID: <1245908178.21085.303.camel@calx> (raw)
In-Reply-To: <6498b0c571fd010583c911cabc346c26ce8f25a7.1245906152.git.joe@perches.com>

On Wed, 2009-06-24 at 22:13 -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  drivers/char/hw_random/amd-rng.c   |    4 ++--
>  drivers/char/hw_random/geode-rng.c |    3 +--
>  2 files changed, 3 insertions(+), 4 deletions(-)

Acked-by: Matt Mackall <mpm@selenic.com>

> diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c
> index cd0ba51..0d8c578 100644
> --- a/drivers/char/hw_random/amd-rng.c
> +++ b/drivers/char/hw_random/amd-rng.c
> @@ -44,8 +44,8 @@
>   * want to register another driver on the same PCI id.
>   */
>  static const struct pci_device_id pci_tbl[] = {
> -	{ 0x1022, 0x7443, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
> -	{ 0x1022, 0x746b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
> +	{ PCI_VDEVICE(AMD, 0x7443), 0, },
> +	{ PCI_VDEVICE(AMD, 0x746b), 0, },
>  	{ 0, },	/* terminate list */
>  };
>  MODULE_DEVICE_TABLE(pci, pci_tbl);
> diff --git a/drivers/char/hw_random/geode-rng.c b/drivers/char/hw_random/geode-rng.c
> index 64d513f..4c4d4e1 100644
> --- a/drivers/char/hw_random/geode-rng.c
> +++ b/drivers/char/hw_random/geode-rng.c
> @@ -46,8 +46,7 @@
>   * want to register another driver on the same PCI id.
>   */
>  static const struct pci_device_id pci_tbl[] = {
> -	{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LX_AES,
> -	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
> +	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_LX_AES), 0, },
>  	{ 0, },	/* terminate list */
>  };
>  MODULE_DEVICE_TABLE(pci, pci_tbl);

-- 
http://selenic.com : development and support for Mercurial and Linux



  reply	other threads:[~2009-06-25  5:37 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  5:13 [PATCH 00/19] Use PCI_VDEVICE Joe Perches
2009-06-25  5:13 ` [PATCH 01/19] drivers/ata: " Joe Perches
2009-06-25  5:13 ` [PATCH 02/19] drivers/atm: " Joe Perches
2009-06-25  5:13 ` [PATCH 03/19] drivers/block: " Joe Perches
2009-06-25  5:13 ` [PATCH 04/19] drivers/char/hw_random: " Joe Perches
2009-06-25  5:36   ` Matt Mackall [this message]
2009-06-25  5:51     ` Herbert Xu
2009-06-25  5:13 ` [PATCH 05/19] drivers/isdn: " Joe Perches
2009-06-25  5:13 ` [PATCH 06/19] drivers/media: " Joe Perches
2009-06-25  5:13 ` [PATCH 07/19] drivers/memstick: " Joe Perches
2009-06-25  5:13 ` [PATCH 08/19] drivers/misc: " Joe Perches
2009-06-25  5:13 ` [PATCH 09/19] drivers/mmc: " Joe Perches
2009-06-25  5:13 ` [PATCH 10/19] drivers/net/wan: " Joe Perches
2009-06-28 11:43   ` Krzysztof Halasa
2009-06-25  5:13 ` [PATCH 11/19] drivers/net/wireless: " Joe Perches
2009-06-25  5:13   ` Joe Perches
2009-06-25 20:30   ` reinette chatre
2009-06-25 20:30     ` reinette chatre
2009-06-25  5:13 ` [PATCH 12/19] drivers/net: " Joe Perches
2009-06-25  5:50   ` David Dillow
2009-06-25  6:19   ` Grant Grundler
2009-06-25 12:24   ` Daniele Venzano
2009-06-25 13:52   ` Jens Osterkamp
2009-06-25  5:13 ` [PATCH 13/19] drivers/parport: " Joe Perches
2009-06-25  5:13 ` [PATCH 14/19] drivers/scsi: " Joe Perches
2009-06-27 17:20   ` James Bottomley
2009-06-27 19:53     ` Joe Perches
2009-06-27 20:56       ` James Bottomley
2009-06-28  1:25         ` Joe Perches
2009-06-25  5:13 ` [PATCH 15/19] drivers/serial: " Joe Perches
2009-06-25  5:13 ` [PATCH 16/19] drivers/staging: " Joe Perches
2009-06-25 14:24   ` Jiri Slaby
2009-06-25 14:53     ` Joe Perches
2009-07-02 20:06       ` Greg KH
2009-06-25  5:13 ` [PATCH 17/19] drivers/telephony: " Joe Perches
2009-06-25  5:13 ` [PATCH 18/19] drivers/video: " Joe Perches
2009-06-26  9:54   ` Ville Syrjälä
2009-06-26  9:54     ` Ville Syrjälä
2009-06-26 16:35     ` Joe Perches
2009-06-26 17:31       ` Ville Syrjälä
2009-06-25  5:13 ` [PATCH 19/19] sound: " Joe Perches
2009-06-25  5:43   ` Takashi Iwai
2009-06-25  5:43     ` Takashi Iwai
2009-06-25  5:47     ` Joe Perches
2009-06-25  5:55       ` Takashi Iwai
2009-06-25  5:55         ` Takashi Iwai
2009-06-25  6:18         ` [PATCH 20/19] sound: Use PCI_VDEVICE for CREATIVE and ECTIVA Joe Perches
2009-06-25  6:59           ` Takashi Iwai
2009-06-25  6:59             ` Takashi Iwai

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=1245908178.21085.303.camel@calx \
    --to=mpm@selenic.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=joe@perches.com \
    --cc=linux-geode@lists.infradead.org \
    --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.