svn commit: r188552 - head/sys/dev/usb2/ethernet

Andrew Thompson thompsa at FreeBSD.org
Thu Feb 12 18:48:33 PST 2009


Author: thompsa
Date: Fri Feb 13 02:48:32 2009
New Revision: 188552
URL: http://svn.freebsd.org/changeset/base/188552

Log:
  Add module dependency on miibus.
  
  Submitted by:	yongari

Modified:
  head/sys/dev/usb2/ethernet/usb2_ethernet.c

Modified: head/sys/dev/usb2/ethernet/usb2_ethernet.c
==============================================================================
--- head/sys/dev/usb2/ethernet/usb2_ethernet.c	Fri Feb 13 02:41:15 2009	(r188551)
+++ head/sys/dev/usb2/ethernet/usb2_ethernet.c	Fri Feb 13 02:48:32 2009	(r188552)
@@ -43,6 +43,9 @@ SYSCTL_NODE(_net, OID_AUTO, ue, CTLFLAG_
 #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);


More information about the svn-src-head mailing list