aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_bus.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-02-27 17:27:16 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-02-27 17:27:16 +0000
commitee3e3ff5c201f0b8942ea912ce7ebfdccb32af52 (patch)
tree799ccaf32ee5b67a3fd075acab472e59c72735d8 /sys/dev/usb/usb_bus.h
parent2ebdf042257919c7ee6a2c7d8761a3803c0c87c0 (diff)
downloadsrc-ee3e3ff5c201f0b8942ea912ce7ebfdccb32af52.tar.gz
src-ee3e3ff5c201f0b8942ea912ce7ebfdccb32af52.zip
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)
Notes
Notes: svn path=/head/; revision=189110
Diffstat (limited to 'sys/dev/usb/usb_bus.h')
-rw-r--r--sys/dev/usb/usb_bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_bus.h b/sys/dev/usb/usb_bus.h
index 59287c448d4b..d2fecb94621c 100644
--- a/sys/dev/usb/usb_bus.h
+++ b/sys/dev/usb/usb_bus.h
@@ -69,7 +69,6 @@ struct usb2_bus {
* This mutex protects the USB hardware:
*/
struct mtx bus_mtx;
- struct usb2_perm perm;
struct usb2_xfer_queue intr_q;
struct usb2_callout power_wdog; /* power management */