From: Ben Dooks Date: Sat, 23 Jul 2005 16:25:18 +0000 (+0100) Subject: [PATCH] DM9000 - spinlock fixes X-Git-Tag: v2.6.13-rc7~59^2~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ef9ac51cc5fa5f5811230b5fb242536b636ff47;p=pandora-kernel.git [PATCH] DM9000 - spinlock fixes 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 the lock when actually reading or writing to the phy. Signed-off-by: Ben Dooks Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed