aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_hw.c
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-07-26 16:07:42 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-27 14:15:25 -0400
commit4f96b988e8d404b8b32aefed27503b4538949a3c (patch)
tree22d6aa87665cd02c4f3815357e9242bc50ff428e /drivers/net/netxen/netxen_nic_hw.c
parent24767ab16913bc27ba7a85698e5c0f591368647d (diff)
netxen: clean up firmware version checks
NX2031 firmware version will never be > 4.0.0, so replace (adapter->fw_major < 4) checks with pci revision ID check. 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_hw.c')
-rw-r--r--drivers/net/netxen/netxen_nic_hw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c
index 088611bb5bdb..ddb9deb12b33 100644
--- a/drivers/net/netxen/netxen_nic_hw.c
+++ b/drivers/net/netxen/netxen_nic_hw.c
@@ -2045,7 +2045,6 @@ void netxen_nic_get_firmware_info(struct netxen_adapter *adapter)
2045 fw_minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR); 2045 fw_minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR);
2046 fw_build = NXRD32(adapter, NETXEN_FW_VERSION_SUB); 2046 fw_build = NXRD32(adapter, NETXEN_FW_VERSION_SUB);
2047 2047
2048 adapter->fw_major = fw_major;
2049 adapter->fw_version = NETXEN_VERSION_CODE(fw_major, fw_minor, fw_build); 2048 adapter->fw_version = NETXEN_VERSION_CODE(fw_major, fw_minor, fw_build);
2050 2049
2051 if (adapter->portnum == 0) { 2050 if (adapter->portnum == 0) {