diff options
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c index c4262c23ed7c..be41e4c77b65 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c | |||
@@ -537,7 +537,7 @@ int qlcnic_pinit_from_rom(struct qlcnic_adapter *adapter) | |||
537 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_3 + 0xc, 0); | 537 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_3 + 0xc, 0); |
538 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_4 + 0x8, 0); | 538 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_4 + 0x8, 0); |
539 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_4 + 0xc, 0); | 539 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_4 + 0xc, 0); |
540 | msleep(1); | 540 | usleep_range(1000, 1500); |
541 | 541 | ||
542 | QLC_SHARED_REG_WR32(adapter, QLCNIC_PEG_HALT_STATUS1, 0); | 542 | QLC_SHARED_REG_WR32(adapter, QLCNIC_PEG_HALT_STATUS1, 0); |
543 | QLC_SHARED_REG_WR32(adapter, QLCNIC_PEG_HALT_STATUS2, 0); | 543 | QLC_SHARED_REG_WR32(adapter, QLCNIC_PEG_HALT_STATUS2, 0); |
@@ -1198,7 +1198,7 @@ qlcnic_load_firmware(struct qlcnic_adapter *adapter) | |||
1198 | flashaddr += 8; | 1198 | flashaddr += 8; |
1199 | } | 1199 | } |
1200 | } | 1200 | } |
1201 | msleep(1); | 1201 | usleep_range(1000, 1500); |
1202 | 1202 | ||
1203 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_0 + 0x18, 0x1020); | 1203 | QLCWR32(adapter, QLCNIC_CRB_PEG_NET_0 + 0x18, 0x1020); |
1204 | QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0x80001e); | 1204 | QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0x80001e); |
@@ -1295,7 +1295,7 @@ next: | |||
1295 | rc = qlcnic_validate_firmware(adapter); | 1295 | rc = qlcnic_validate_firmware(adapter); |
1296 | if (rc != 0) { | 1296 | if (rc != 0) { |
1297 | release_firmware(adapter->fw); | 1297 | release_firmware(adapter->fw); |
1298 | msleep(1); | 1298 | usleep_range(1000, 1500); |
1299 | goto next; | 1299 | goto next; |
1300 | } | 1300 | } |
1301 | } | 1301 | } |