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>
This commit is contained in:
Dhananjay Phadke
2009-07-26 20:07:42 +00:00
committed by David S. Miller
parent 24767ab169
commit 4f96b988e8
5 changed files with 8 additions and 9 deletions

View File

@@ -1299,7 +1299,7 @@ struct netxen_adapter {
nx_nic_intr_coalesce_t coal;
u32 fw_major;
u32 resv5;
u32 fw_version;
const struct firmware *fw;
};