On Thu, Nov 11, 2010 at 04:03:14PM +0100, Markus Armbruster wrote: [snip] > Agree. > > Summary so far: > > 1. usb_{attach,detach} looks like yet another special-purpose command > where a general command would make sense, namely > device_{attach,detach}. We have a few of those, e.g. usb_add > vs. device_add. I'd prefer not to add more, as far as practical. > > 2. We need chardev_add and chardev_del sooner rather than later. > > 3. Automatic deletion of host devices (character, block, net) gets in > the way[*]. We need a way to suppress it. > > 4. If we have 2. and 3., we don't need 1. > > Fair? Yes.
> > > [*] Funny coincidence: I just read Neil Brown's essay on the conflated > design anti-pattern, http://lwn.net/Articles/412131/