diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-03-06 09:52:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-14 14:40:08 -0400 |
commit | de9307c68624b03d2922a02a661ce31e20f078cc (patch) | |
tree | 36353ce83fbe78969ef3ae09c8f328656c18c874 /drivers/net/netxen/netxen_nic_main.c | |
parent | 5a89392225c6147d10328a64b06b756561e97edf (diff) |
netxen: remove old flash check.
Remove flash size check which made sense only for ancient
boards with 1MB flash. The check is based on values read
from specific locations and fails with firmware size changes.
This prevents driver from getting right mac addresses.
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_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 13087782ac40..c172b6e24a96 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -405,9 +405,6 @@ netxen_read_mac_addr(struct netxen_adapter *adapter) | |||
405 | struct net_device *netdev = adapter->netdev; | 405 | struct net_device *netdev = adapter->netdev; |
406 | struct pci_dev *pdev = adapter->pdev; | 406 | struct pci_dev *pdev = adapter->pdev; |
407 | 407 | ||
408 | if (netxen_is_flash_supported(adapter) != 0) | ||
409 | return -EIO; | ||
410 | |||
411 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { | 408 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { |
412 | if (netxen_p3_get_mac_addr(adapter, &mac_addr) != 0) | 409 | if (netxen_p3_get_mac_addr(adapter, &mac_addr) != 0) |
413 | return -EIO; | 410 | return -EIO; |