diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 4a65e4155c0f..48fe624afa53 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -361,8 +361,10 @@ myri10ge_send_cmd(struct myri10ge_priv *mgp, u32 cmd, | |||
361 | for (sleep_total = 0; | 361 | for (sleep_total = 0; |
362 | sleep_total < 1000 | 362 | sleep_total < 1000 |
363 | && response->result == htonl(MYRI10GE_NO_RESPONSE_RESULT); | 363 | && response->result == htonl(MYRI10GE_NO_RESPONSE_RESULT); |
364 | sleep_total += 10) | 364 | sleep_total += 10) { |
365 | udelay(10); | 365 | udelay(10); |
366 | mb(); | ||
367 | } | ||
366 | } else { | 368 | } else { |
367 | /* use msleep for most command */ | 369 | /* use msleep for most command */ |
368 | for (sleep_total = 0; | 370 | for (sleep_total = 0; |