Re: [PATCH] DM9000 - spinlock fixes

2005-07-25 Thread Sascha Hauer
Hi, On Sat, Jul 23, 2005 at 05:25:18PM +0100, Ben Dooks wrote: > Fix DM9000 driver usage of spinlocks, which mainly came to light > when running a kernel with spinlock debugging. These come down to: > > 1) Un-initialised spin lock > > 2) Several cases of using spin_xxx(lock) and not spin_xxx(&l

[PATCH] DM9000 - spinlock fixes

2005-07-23 Thread Ben Dooks
Fix DM9000 driver usage of spinlocks, which mainly came to light when running a kernel with spinlock debugging. These come down to: 1) Un-initialised spin lock 2) Several cases of using spin_xxx(lock) and not spin_xxx(&lock) 3) move the locking around the phy reg for read/write to only keep