diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 557e76c4c589..e8574eeae58f 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -817,7 +817,7 @@ netxen_start_firmware(struct netxen_adapter *adapter) | |||
817 | if (err < 0) | 817 | if (err < 0) |
818 | goto err_out; | 818 | goto err_out; |
819 | if (err == 0) | 819 | if (err == 0) |
820 | goto wait_init; | 820 | goto ready; |
821 | 821 | ||
822 | if (first_boot != 0x55555555) { | 822 | if (first_boot != 0x55555555) { |
823 | NXWR32(adapter, CRB_CMDPEG_STATE, 0); | 823 | NXWR32(adapter, CRB_CMDPEG_STATE, 0); |
@@ -860,6 +860,7 @@ netxen_start_firmware(struct netxen_adapter *adapter) | |||
860 | | (_NETXEN_NIC_LINUX_SUBVERSION); | 860 | | (_NETXEN_NIC_LINUX_SUBVERSION); |
861 | NXWR32(adapter, CRB_DRIVER_VERSION, val); | 861 | NXWR32(adapter, CRB_DRIVER_VERSION, val); |
862 | 862 | ||
863 | ready: | ||
863 | NXWR32(adapter, NX_CRB_DEV_STATE, NX_DEV_READY); | 864 | NXWR32(adapter, NX_CRB_DEV_STATE, NX_DEV_READY); |
864 | 865 | ||
865 | wait_init: | 866 | wait_init: |
@@ -874,7 +875,7 @@ wait_init: | |||
874 | 875 | ||
875 | netxen_check_options(adapter); | 876 | netxen_check_options(adapter); |
876 | 877 | ||
877 | return 0; | 878 | /* fall through and release firmware */ |
878 | 879 | ||
879 | err_out: | 880 | err_out: |
880 | netxen_release_firmware(adapter); | 881 | netxen_release_firmware(adapter); |