commit | de847272149365363a6043a963a6f42fb91566e2 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Tue Jun 29 15:26:56 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 29 23:14:21 2010 -0700 |
tree | 51a1c4bbf9baec1d9949816734a869706a9b48cf | |
parent | 5a86f28f954c3841d3a6df4d07d2ed17088c3711 [diff] |
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>