lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 13 Sep 2008 15:30:32 -0400
From:	Jeff Garzik <jeff@...zik.org>
To:	Dhananjay Phadke <dhananjay@...xen.com>
CC:	netdev@...r.kernel.org
Subject: Re: [PATCH] netxen: add pci ids

Dhananjay Phadke wrote:
> Define old and new pci vendor and device ids.
> 
> Signed-off-by: Dhananjay Phadke <dhananjay@...xen.com>
> ---
>  drivers/net/netxen/netxen_nic_main.c |   18 +++++++++---------
>  include/linux/pci_ids.h              |   10 ++++++++++
>  2 files changed, 19 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
> index 008fd66..0f8ea2c 100644
> --- a/drivers/net/netxen/netxen_nic_main.c
> +++ b/drivers/net/netxen/netxen_nic_main.c
> @@ -77,18 +77,18 @@ static irqreturn_t netxen_msi_intr(int irq, void *data);
>  
>  /*  PCI Device ID Table  */
>  #define ENTRY(device) \
> -	{PCI_DEVICE(0x4040, (device)), \
> +	{PCI_DEVICE(PCI_VENDOR_ID_NETXEN, (device)), \
>  	.class = PCI_CLASS_NETWORK_ETHERNET << 8, .class_mask = ~0}
>  
>  static struct pci_device_id netxen_pci_tbl[] __devinitdata = {
> -	ENTRY(0x0001),
> -	ENTRY(0x0002),
> -	ENTRY(0x0003),
> -	ENTRY(0x0004),
> -	ENTRY(0x0005),
> -	ENTRY(0x0024),
> -	ENTRY(0x0025),
> -	ENTRY(0x0100),
> +	ENTRY(PCI_DEVICE_ID_NX2031_10GXSR),
> +	ENTRY(PCI_DEVICE_ID_NX2031_10GCX4),
> +	ENTRY(PCI_DEVICE_ID_NX2031_4GCU),
> +	ENTRY(PCI_DEVICE_ID_NX2031_IMEZ),
> +	ENTRY(PCI_DEVICE_ID_NX2031_HMEZ),
> +	ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT),
> +	ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT2),
> +	ENTRY(PCI_DEVICE_ID_NX3031),
>  	{0,}
>  };

applied


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ