]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ca5baec33392f41f32c21520bdf145eb139c983
tree51a1c4bbf9baec1d9949816734a869706a9b48cf
parent1a6b48ef1ca963f0cd121491c9752a313ff99d89
3c59x: Use fine-grained locks for MII and windowed register access

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>
drivers/net/3c59x.c