Re: [linux-usb-devel] Re: RFC: [2.6 patch] let BLK_DEV_UB depend onEMBEDDED

From: Alan Stern
Date: Mon Dec 20 2004 - 10:41:40 EST


On Mon, 20 Dec 2004, Ed Tomlinson wrote:

> Its not that they just enable it. Its that it has side effects. I enable it to support
> one device - it then 'devnaps' other devices that usbstorage supports _much_
> better. Is there some way it could work in reverse. eg. let ub bind only if
> usbstorage does not, possibly making usbstorage a _little_ more conservative
> if ub is present?

Unfortunately there isn't any way to define which driver should bind to a
device, if they are both capable of controlling it. Maybe there should
be. It might not be too hard to add a sysfs interface for that sort of
thing.

Alan Stern

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