Trying to remove cardbus dependence on ds

Patrick Mochel mochel at osdl.org
Tue Jun 17 14:04:25 BST 2003


On Tue, 17 Jun 2003, Matthew Wilcox wrote:

> On Tue, Jun 17, 2003 at 08:17:01PM +0100, Russell King wrote:
> > So, we can't call other pci device add/remove functions from within a
> > driver probe/remove callback.
> 
> Or we make the semaphore per-bus rather than per-bus-type.  New races?
> Probably.  Or we have an _unlocked() form of the operation that's currently
> being called.

There should be: device_detach() and driver_detach() in drivers/base/bus.c 
were exported for reasons just like this.

Russell, could you take a look and let me know if those will work for you 
in this situation?


	-pat




More information about the linux-pcmcia mailing list