From owner-svn-src-all@FreeBSD.ORG Fri Feb 13 02:48:32 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB89E106566B; Fri, 13 Feb 2009 02:48:32 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C9CA68FC0A; Fri, 13 Feb 2009 02:48:32 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1D2mWih074028; Fri, 13 Feb 2009 02:48:32 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1D2mWes074027; Fri, 13 Feb 2009 02:48:32 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200902130248.n1D2mWes074027@svn.freebsd.org> From: Andrew Thompson Date: Fri, 13 Feb 2009 02:48:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188552 - head/sys/dev/usb2/ethernet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 02:48:33 -0000 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);