3c59x: Use fine-grained locks for MII and windowed register access
authorBen Hutchings <ben@decadent.org.uk>
Tue, 29 Jun 2010 15:26:56 +0000 (15:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 06:14:21 +0000 (23:14 -0700)
This avoids scheduling in atomic context and also means that IRQs
will only be deferred for relatively short periods of time.

Previously discussed in:
http://article.gmane.org/gmane.linux.network/155024

Reported-by: Arne Nordmark <nordmark@mech.kth.se>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found