Re: Problem with new driver model?

From: Patrick Mochel (mochel@osdl.org)
Date: Wed Jun 05 2002 - 16:04:36 EST


> Shouldn't the calls to __remove_driver be done inside the device_lock?

No. If the driver needs to lock, it is free to use it. But, what the
driver needs to do is up to the driver, and we don't want to force it not
to sleep.

But, the driver needs to be removed from the bus's list inside the lock,
so if a device the driver supports gets inserted, we won't try and bind
the two...Patch coming shortly.

        -pat

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:26 EST