1
0
Fork 0
alistair23-linux/drivers/net/ethernet/davicom
Andrew Ruder 582379839b dm9000: avoid sleeping in dm9000_timeout callback
On the DM9000B, dm9000_msleep() is called during the dm9000_timeout()
routine.  Since dm9000_timeout() holds the main spinlock through the
entire routine, mdelay() needs to be used rather than msleep().
Furthermore, the mutex_lock()/mutex_unlock() should be avoided so as to
not sleep with spinlocks held.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-05 15:12:11 -07:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
dm9000.c dm9000: avoid sleeping in dm9000_timeout callback 2014-06-05 15:12:11 -07:00
dm9000.h DM9000B: driver initialization upgrade 2013-03-31 19:43:23 -04:00