Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351587
b: refs/heads/master
c: 0926d49
h: refs/heads/master
i:
  351585: 0d51ad5
  351583: 1effa1a
v: v3
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Jan 23, 2013
1 parent 338456c commit 94002ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 924d75ab3da25c3498b329158f7226fb80cd8cec
refs/heads/master: 0926d499e24d22da77f83cbfb3b22e1ad89aa7db
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ static inline int bnx2x_clean_tx_queue(struct bnx2x *bp,
#endif
}
cnt--;
usleep_range(1000, 1000);
usleep_range(1000, 2000);
}

return 0;
Expand Down Expand Up @@ -1259,7 +1259,7 @@ static inline bool bnx2x_wait_sp_comp(struct bnx2x *bp, unsigned long mask)
}
netif_addr_unlock_bh(bp->dev);

usleep_range(1000, 1000);
usleep_range(1000, 2000);
}

smp_mb();
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8654,7 +8654,7 @@ void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode, bool keep_link)
}

/* Give HW time to discard old tx messages */
usleep_range(1000, 1000);
usleep_range(1000, 2000);

/* Clean all ETH MACs */
rc = bnx2x_del_all_macs(bp, &bp->sp_objs[0].mac_obj, BNX2X_ETH_MAC,
Expand Down Expand Up @@ -9078,7 +9078,7 @@ static int bnx2x_er_poll_igu_vq(struct bnx2x *bp)
if (pend_bits == 0)
break;

usleep_range(1000, 1000);
usleep_range(1000, 2000);
} while (cnt-- > 0);

if (cnt <= 0) {
Expand Down Expand Up @@ -9113,7 +9113,7 @@ static int bnx2x_process_kill(struct bnx2x *bp, bool global)
(pgl_exp_rom2 == 0xffffffff) &&
(!CHIP_IS_E3(bp) || (tags_63_32 == 0xffffffff)))
break;
usleep_range(1000, 1000);
usleep_range(1000, 2000);
} while (cnt-- > 0);

if (cnt <= 0) {
Expand Down Expand Up @@ -9146,7 +9146,7 @@ static int bnx2x_process_kill(struct bnx2x *bp, bool global)
/* Wait for 1ms to empty GLUE and PCI-E core queues,
* PSWHST, GRC and PSWRD Tetris buffer.
*/
usleep_range(1000, 1000);
usleep_range(1000, 2000);

/* Prepare to chip reset: */
/* MCP */
Expand Down Expand Up @@ -10917,7 +10917,7 @@ static int bnx2x_get_hwinfo(struct bnx2x *bp)

while (tout && REG_RD(bp, IGU_REG_RESET_MEMORIES)) {
tout--;
usleep_range(1000, 1000);
usleep_range(1000, 2000);
}

if (REG_RD(bp, IGU_REG_RESET_MEMORIES)) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static inline int bnx2x_state_wait(struct bnx2x *bp, int state,
return 0;
}

usleep_range(1000, 1000);
usleep_range(1000, 2000);

if (bp->panic)
return -EIO;
Expand Down Expand Up @@ -1407,7 +1407,7 @@ static int bnx2x_wait_vlan_mac(struct bnx2x *bp,

/* Wait until there are no pending commands */
if (!bnx2x_exe_queue_empty(exeq))
usleep_range(1000, 1000);
usleep_range(1000, 2000);
else
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static int bnx2x_stats_comp(struct bnx2x *bp)
break;
}
cnt--;
usleep_range(1000, 1000);
usleep_range(1000, 2000);
}
return 1;
}
Expand Down

0 comments on commit 94002ea

Please sign in to comment.