diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-10-24 12:04:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 07:10:18 -0400 |
commit | f0e08fac06596a760f074c08521550d93b96336e (patch) | |
tree | 4499759d62e374f9186973c4ce737f560394fea1 /drivers/net/netxen/netxen_nic_ethtool.c | |
parent | a9ac07deeb4b880aea3eaccf7ec913ac902aeef9 (diff) |
netxen: add PCI IDs for new chip
Add PCI vendor and device IDs for QLE8240 and QLE8242
CNA devices.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_ethtool.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_ethtool.c b/drivers/net/netxen/netxen_nic_ethtool.c index a3b18e0c9670..c86095eb5d9e 100644 --- a/drivers/net/netxen/netxen_nic_ethtool.c +++ b/drivers/net/netxen/netxen_nic_ethtool.c | |||
@@ -688,8 +688,8 @@ static int netxen_nic_reg_test(struct net_device *dev) | |||
688 | u32 data_read, data_written; | 688 | u32 data_read, data_written; |
689 | 689 | ||
690 | data_read = NXRD32(adapter, NETXEN_PCIX_PH_REG(0)); | 690 | data_read = NXRD32(adapter, NETXEN_PCIX_PH_REG(0)); |
691 | if ((data_read & 0xffff) != PHAN_VENDOR_ID) | 691 | if ((data_read & 0xffff) != adapter->pdev->vendor) |
692 | return 1; | 692 | return 1; |
693 | 693 | ||
694 | data_written = (u32)0xa5a5a5a5; | 694 | data_written = (u32)0xa5a5a5a5; |
695 | 695 | ||