--- drivers/net/au1000_eth.c.orig 2008-06-26 14:21:53.000000000 +0200 +++ drivers/net/au1000_eth.c 2008-06-26 14:23:00.000000000 +0200 # The following spinlock needs to be initialized earlier, as it is already used # in enable_mac(), called via mii_probe() @@ -656,6 +656,7 @@ dev->name, base, irq); aup = dev->priv; + spin_lock_init(&aup->lock); /* Allocate the data buffers */ /* Snooping works fine with eth on all au1xxx */ @@ -766,7 +767,6 @@ aup->tx_db_inuse[i] = pDB; } - spin_lock_init(&aup->lock); dev->base_addr = base; dev->irq = irq; dev->open = au1000_open;