]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitde847272149365363a6043a963a6f42fb91566e2
tree51a1c4bbf9baec1d9949816734a869706a9b48cf
parent5a86f28f954c3841d3a6df4d07d2ed17088c3711
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