summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-13 02:48:32 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-13 02:48:32 +0000
commit34849d644c458a99d95588e21bba1020d0e20f79 (patch)
tree2ae8c2192f8600eb8f1bb410523d1bca74296c65 /sys
parenta018b9ee88c6503bd4e5e0622babb64a7d658cba (diff)
downloadFreeBSD-src-34849d644c458a99d95588e21bba1020d0e20f79.zip
FreeBSD-src-34849d644c458a99d95588e21bba1020d0e20f79.tar.gz
Add module dependency on miibus.
Submitted by: yongari
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb2/ethernet/usb2_ethernet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb2/ethernet/usb2_ethernet.c b/sys/dev/usb2/ethernet/usb2_ethernet.c
index 7bf46d6..a01f942 100644
--- a/sys/dev/usb2/ethernet/usb2_ethernet.c
+++ b/sys/dev/usb2/ethernet/usb2_ethernet.c
@@ -43,6 +43,9 @@ SYSCTL_NODE(_net, OID_AUTO, ue, CTLFLAG_RD, 0, "USB Ethernet parameters");
#define UE_UNLOCK(_ue) mtx_unlock((_ue)->ue_mtx)
#define UE_LOCK_ASSERT(_ue, t) mtx_assert((_ue)->ue_mtx, t)
+MODULE_DEPEND(usb2_ethernet, usb2_core, 1, 1, 1);
+MODULE_DEPEND(usb2_ethernet, miibus, 1, 1, 1);
+
static struct unrhdr *ueunit;
static usb2_proc_callback_t ue_attach_post_task;
@@ -582,4 +585,3 @@ usb2_ether_rxflush(struct usb2_ether *ue)
DECLARE_MODULE(usb2_ethernet, usb2_ether_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
MODULE_VERSION(usb2_ethernet, 1);
-MODULE_DEPEND(usb2_ethernet, usb2_core, 1, 1, 1);
OpenPOWER on IntegriCloud