> > use counts. PCI made this change quite a while back, as
> > I suspect you know.
>
> Actually I don't. I used the character device handling as an example.
> My memory may fail me but didn't we discuss this very race around 2.3.99 ?
If so, I don't remember it; I know that PCI added the module
hookup to its hotplug support at some point, to reduce the
number of driver errors. I could believe chardev and blockdev
support needed it too.
> > now probably just increment and decrement module use counts.
>
> That precisely they should not do. I was an ambitious design goal that USB
> drivers should be unloadable although they were "attached" to a device
> currently not in use.
Yes, that's right. Only "open" and "close" methods (or analogues)
should do that. The input subsystem doesn't, though.
- Dave
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel