Subject: Re: 1.6.2 kernel: ex driver sometimes can't allocate
To: Manuel Bouyer <email@example.com>
From: Jochen Kunz <firstname.lastname@example.org>
Date: 09/19/2004 22:25:56
On Sun, 19 Sep 2004 21:06:12 +0200
Manuel Bouyer <email@example.com> wrote:
> I don't know if it is safe to call without BUS_DMA_NOWAIT here.
> It needs to be called from a valid thread context to be.
I don't know how the PCMCIA / cardbus stuff works exactely. But isn't
there a kernel thread watching the slots for insert / removal events and
calling the appropriate MI attach / detach routines of the driver? Maybe
it is possible to pass a flag to the MI attach routine to signal the
attach code that it is save to sleep during attach?