If usb_mid would support the ugen interface it wouldn't be necessary
to do the horrible add_drv/update_drv stuff documented in the ugen
man page
Basically, usb_mid and ugen will import the ugen support code from usba
so no code will be duplicated (somewhat comparable to how we do hub
support). usb_mid will always create the /dev/usb nodes for ugen
so libsub applications will just work. Perhaps usb_mid should limit
access to interfaces that do not have a driver attached.
the ugen code will be moved to USBA so it can be shared
additional changes:
- usb_link.c, the link generator: create ugen nodes for type DDI_NT_UGEN
- add postinstall and preremove to SUNWugen package. To avoid permission
problems, add /dev/usb/*/*/* to /etc/logindevperm
Only remove the driver if there are no user defined aliases
- since ugen code also requires a dev-data, additional changes are needed
in usbai_register.c and leak detection
- I cleaned some member names to comply with the USB driver conventions
xxxxx@xxxxx.com 2005-03-22 21:37:11 GMT