diff options
author | Manish chopra <manish.chopra@qlogic.com> | 2012-02-03 11:35:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-04 15:59:28 -0500 |
commit | 83f18a557c6d6cdc03c7821e0b596c8f8b7bdb9f (patch) | |
tree | c978541c50a9526da998456badbc4f4dc20702b9 /drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | |
parent | 2dcd5d95ad6b281fca6f2d5e252bbf7e8e20655b (diff) | |
download | op-kernel-dev-83f18a557c6d6cdc03c7821e0b596c8f8b7bdb9f.zip op-kernel-dev-83f18a557c6d6cdc03c7821e0b596c8f8b7bdb9f.tar.gz |
netxen_nic: fw dump support
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index 094d26c..f69ac44 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c @@ -446,7 +446,7 @@ int netxen_pinit_from_rom(struct netxen_adapter *adapter) /* resetall */ netxen_rom_lock(adapter); - NXWR32(adapter, NETXEN_ROMUSB_GLB_SW_RESET, 0xffffffff); + NXWR32(adapter, NETXEN_ROMUSB_GLB_SW_RESET, 0xfeffffff); netxen_rom_unlock(adapter); if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { @@ -1347,7 +1347,6 @@ int netxen_phantom_init(struct netxen_adapter *adapter, int pegtune_val) do { val = NXRD32(adapter, CRB_CMDPEG_STATE); - switch (val) { case PHAN_INITIALIZE_COMPLETE: case PHAN_INITIALIZE_ACK: |