Subject: Re: 1.6.2 kernel: ex driver sometimes can't allocate
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-kern
Date: 09/19/2004 22:25:56
On Sun, 19 Sep 2004 21:06:12 +0200
Manuel Bouyer <bouyer@antioche.eu.org> 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?
--=20


tsch=FC=DF,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/