From owner-svn-src-head@freebsd.org Mon May 2 22:30:47 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF04CB2B95F; Mon, 2 May 2016 22:30:47 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 667161BED; Mon, 2 May 2016 22:30:47 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u42MUkWe066428; Mon, 2 May 2016 22:30:46 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u42MUk5p066425; Mon, 2 May 2016 22:30:46 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201605022230.u42MUk5p066425@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Mon, 2 May 2016 22:30:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298947 - head/sys/dev/bhnd/cores/pci X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 22:30:47 -0000 Author: adrian Date: Mon May 2 22:30:46 2016 New Revision: 298947 URL: https://svnweb.freebsd.org/changeset/base/298947 Log: [bhnd] fix more module dependencies. Submitted by: Landon Fuller Differential Revision: https://reviews.freebsd.org/D6180 Modified: head/sys/dev/bhnd/cores/pci/bhnd_pci.c head/sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c head/sys/dev/bhnd/cores/pci/bhnd_pcib.c Modified: head/sys/dev/bhnd/cores/pci/bhnd_pci.c ============================================================================== --- head/sys/dev/bhnd/cores/pci/bhnd_pci.c Mon May 2 21:40:34 2016 (r298946) +++ head/sys/dev/bhnd/cores/pci/bhnd_pci.c Mon May 2 22:30:46 2016 (r298947) @@ -543,7 +543,6 @@ static device_method_t bhnd_pci_methods[ }; DEFINE_CLASS_0(bhnd_pci, bhnd_pci_driver, bhnd_pci_methods, sizeof(struct bhnd_pci_softc)); - -MODULE_VERSION(bhnd_pci, 1); -MODULE_DEPEND(bhnd_pci, pci, 1, 1, 1); MODULE_DEPEND(bhnd_pci, bhnd, 1, 1, 1); +MODULE_DEPEND(bhnd_pci, pci, 1, 1, 1); +MODULE_VERSION(bhnd_pci, 1); Modified: head/sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c ============================================================================== --- head/sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c Mon May 2 21:40:34 2016 (r298946) +++ head/sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c Mon May 2 22:30:46 2016 (r298947) @@ -449,4 +449,5 @@ DEFINE_CLASS_1(bhnd_pci_hostb, bhnd_pci_ DRIVER_MODULE(bhnd_hostb, bhnd, bhnd_pci_hostb_driver, bhnd_hostb_devclass, 0, 0); MODULE_VERSION(bhnd_pci_hostb, 1); +MODULE_DEPEND(bhnd_pci_hostb, bhnd, 1, 1, 1); MODULE_DEPEND(bhnd_pci_hostb, bhnd_pci, 1, 1, 1); Modified: head/sys/dev/bhnd/cores/pci/bhnd_pcib.c ============================================================================== --- head/sys/dev/bhnd/cores/pci/bhnd_pcib.c Mon May 2 21:40:34 2016 (r298946) +++ head/sys/dev/bhnd/cores/pci/bhnd_pcib.c Mon May 2 22:30:46 2016 (r298947) @@ -90,5 +90,6 @@ DEFINE_CLASS_1(bhnd_pcib, bhnd_pcib_driv DRIVER_MODULE(bhnd_pcib, bhnd, bhnd_pcib_driver, bhnd_hostb_devclass, 0, 0); MODULE_VERSION(bhnd_pcib, 1); +MODULE_DEPEND(bhnd_pcib, bhnd, 1, 1, 1); +MODULE_DEPEND(bhnd_pcib, bhnd_pci, 1, 1, 1); MODULE_DEPEND(bhnd_pcib, pci, 1, 1, 1); -MODULE_DEPEND(bhnd_pcib, bhnd_pci_mdio, 1, 1, 1);