[netdrvr] au1000_eth: Spinlock initialisation fix
authorMartin Gebert <martin.gebert@alpha-bit.de>
Wed, 23 Jul 2008 07:40:09 +0000 (09:40 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:48:58 +0000 (18:48 -0400)
commit533763d34862101090f8563aa9da202583b2423d
tree516d09b5cd590c27f4a15f7740a617265ac143e7
parent894d6276ed8dca0365a91b6d4858c37c58b962d7
[netdrvr] au1000_eth: Spinlock initialisation fix

Seems like the spinlock for the AU1x00 ethernet device is initialised too
late, as it is already used in enable_mac(), which is called via
mii_probe() before the init takes place.

The attached patch is working here for a Linux Au1100 2.6.22.6 kernel,
and as far as I checked should also be applicable to the current head
(just line numbers differ).

Signed-off-by: Martin Gebert <Martin.Gebert@alpha-bit.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/au1000_eth.c