From: Martin Gebert Date: Wed, 23 Jul 2008 07:40:09 +0000 (+0200) Subject: [netdrvr] au1000_eth: Spinlock initialisation fix X-Git-Tag: v2.6.28-rc1~717^2~195^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533763d34862101090f8563aa9da202583b2423d;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed