]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFp4 //depot/projects/usb@157699
authorAndrew Thompson <thompsa@FreeBSD.org>
Sat, 14 Feb 2009 23:20:00 +0000 (23:20 +0000)
committerAndrew Thompson <thompsa@FreeBSD.org>
Sat, 14 Feb 2009 23:20:00 +0000 (23:20 +0000)
commit06d497c1afbc1665858994d72b478e3fd34065c0
tree622b53531275e080bd1746cbafae09eed6be649e
parentce66729032dbf8df8a42d7e20b9f4ba4f207d9c3
MFp4 //depot/projects/usb@157699

Add two new functions to the libusb20 API and required kernel ioctls.

- libusb20_dev_get_iface_desc
- libusb20_dev_get_info

New command to usbconfig, "show_ifdrv", which will print out the kernel driver
attached to the given USB device aswell.

See "man libusb20" for a detailed description.

Some minor style corrections long-line wrapping.

Submitted by: Hans Petter Selasky
lib/libusb20/libusb20.3
lib/libusb20/libusb20.c
lib/libusb20/libusb20.h
lib/libusb20/libusb20_int.h
lib/libusb20/libusb20_ugen20.c
sys/dev/usb2/core/usb2_generic.c
sys/dev/usb2/include/usb2_ioctl.h
usr.sbin/usbconfig/dump.c
usr.sbin/usbconfig/dump.h
usr.sbin/usbconfig/usbconfig.c