diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-10-24 16:04:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 04:10:18 -0700 |
commit | f0e08fac06596a760f074c08521550d93b96336e (patch) | |
tree | 4499759d62e374f9186973c4ce737f560394fea1 /drivers/net/netxen/netxen_nic_ethtool.c | |
parent | a9ac07deeb4b880aea3eaccf7ec913ac902aeef9 (diff) | |
download | blackbird-op-linux-f0e08fac06596a760f074c08521550d93b96336e.tar.gz blackbird-op-linux-f0e08fac06596a760f074c08521550d93b96336e.zip |
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) u32 data_read, data_written; data_read = NXRD32(adapter, NETXEN_PCIX_PH_REG(0)); - if ((data_read & 0xffff) != PHAN_VENDOR_ID) - return 1; + if ((data_read & 0xffff) != adapter->pdev->vendor) + return 1; data_written = (u32)0xa5a5a5a5; |