]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change USB over to make_dev() for all device nodes, previously it hooked into
authorthompsa <thompsa@FreeBSD.org>
Fri, 27 Feb 2009 17:27:16 +0000 (17:27 +0000)
committerthompsa <thompsa@FreeBSD.org>
Fri, 27 Feb 2009 17:27:16 +0000 (17:27 +0000)
commit1f16c7700d04a735aa3df3ed26ab236e680c21ad
tree799ccaf32ee5b67a3fd075acab472e59c72735d8
parent03a6b7577d94c2fbc97da1c5539e0bcae374f497
Change USB over to make_dev() for all device nodes, previously it hooked into
the devfs clone handler to open the (invisible) devices on the fly.

The /dev entries are layed out as follows,

 /dev/usbctl      = master device
 /dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>)
 /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint

This also removes the custom permissions model from USB.  Bump
__FreeBSD_version to 800066.

Submitted by: rink (earlier version)
25 files changed:
lib/libusb20/libusb20.3
lib/libusb20/libusb20.c
lib/libusb20/libusb20.h
lib/libusb20/libusb20_int.h
lib/libusb20/libusb20_ugen20.c
sys/dev/sound/usb/uaudio.c
sys/dev/usb/bluetooth/ubtbcmfw.c
sys/dev/usb/image/uscanner.c
sys/dev/usb/input/uhid.c
sys/dev/usb/input/ums.c
sys/dev/usb/misc/ufm.c
sys/dev/usb/serial/ulpt.c
sys/dev/usb/storage/urio.c
sys/dev/usb/usb_bus.h
sys/dev/usb/usb_core.h
sys/dev/usb/usb_dev.c
sys/dev/usb/usb_dev.h
sys/dev/usb/usb_device.c
sys/dev/usb/usb_device.h
sys/dev/usb/usb_generic.c
sys/dev/usb/usb_ioctl.h
sys/sys/param.h
usr.sbin/usbconfig/dump.c
usr.sbin/usbconfig/dump.h
usr.sbin/usbconfig/usbconfig.c