summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/udbp.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-21 14:42:34 +0000
committerimp <imp@FreeBSD.org>2007-06-21 14:42:34 +0000
commitd4fd7053d478e89ca3be425ced1a36ebf68d553e (patch)
treeed0dd4914af2fd4bc48d4d26d7e7b701359acf47 /sys/dev/usb/udbp.c
parentac6798a72c8fe23cdd0de3feb6488518edba738c (diff)
downloadFreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.zip
FreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.tar.gz
Latest round of usb cleanups:
o Consistently use device_foo_t and bus_foo_t for functions implementing device_foo and bus_foo respectively. Adjust those routines that were wrong (we should do this throughout the tree). o make all the modules depend on usb. Otherwise these modules won't load. o ucycom doesn't need usb_port.h o Minor unifdefing o uhub, umass, ums, urio, uscanner conversion complete. o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed their check and setting the proto a long time ago. o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never seen a umodem that needed this rejection for proection (this gets rid of ~20% of the quirks). Approved by: re@ (kensmith) PR: 77940
Diffstat (limited to 'sys/dev/usb/udbp.c')
-rw-r--r--sys/dev/usb/udbp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c
index 5726e7b..767618f 100644
--- a/sys/dev/usb/udbp.c
+++ b/sys/dev/usb/udbp.c
@@ -623,6 +623,7 @@ udbp_out_transfer_cb(usbd_xfer_handle xfer, usbd_private_handle priv,
DRIVER_MODULE(udbp, uhub, udbp_driver, udbp_devclass, usbd_driver_load, 0);
MODULE_DEPEND(udbp, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION);
+MODULE_DEPEND(udbp, usb, 1, 1, 1);
/***********************************************************************
OpenPOWER on IntegriCloud