]> git.karo-electronics.de Git - karo-tx-linux.git/commit
be2net: replace udelay() with schedule_timeout() in mbox polling
authorSathya Perla <sathyap@serverengines.com>
Sun, 30 May 2010 23:34:14 +0000 (23:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2010 07:15:52 +0000 (00:15 -0700)
commitf25b03a7bd260b939b1a6aa69ca518d9848bb63a
tree897afeebe32965882aa9b49c18bec5c8b271d201
parent889cd4b2e529db4988525b0b3e6fb2c095760848
be2net: replace udelay() with schedule_timeout() in mbox polling

As mbox polling is done only in process context, it is better to
use schedule_timeout() instead of udelay().

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c