The patch below fixes the problem with dm9000_timeout function: it calls
dm9000_init under the spin_lock db->lock, which was going to be acquired
again in dm9000_hash_table. From the other hand, dm9000_hash_table has
to be called with db->lock held
Signed-off-by: dmitry pervushin &
On Втр, 2007-11-20 at 14:51 +, Ben Dooks wrote:
> On Tue, Nov 20, 2007 at 05:43:42PM +0300, dmitry pervushin wrote:
> > Hey all,
> >
> > The patch below is intended to fix two problems:
> > - trying to acquire spinlock twice on timeout condition
>
> I
Hey all,
The patch below is intended to fix two problems:
- trying to acquire spinlock twice on timeout condition
- create callback than can be used by platform code to initialize the
chip
Signed-off-by: dmitry pervushin <[EMAIL PROTECTED]>
Index: linux/drivers/net/dm
This patch is to support network adapter on pxa3xx-based boards
Signed-off-by: dmitry pervushin <[EMAIL PROTECTED]>
KernelVersion: 2.6.21
Index: linux-2.6.21/drivers/net/smc91x.h
===
--- linux-2.6.21.orig/drivers/net/sm