Date: Tue, 9 Mar 2010 13:32:51 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r204911 - stable/8/sys/dev/mfi Message-ID: <201003091332.o29DWpuR028461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Mar 9 13:32:50 2010 New Revision: 204911 URL: http://svn.freebsd.org/changeset/base/204911 Log: MFC r204590: Correct mfip module dependency on mfi. This allows mfip to be loaded as module when mfi is a module itself. Modified: stable/8/sys/dev/mfi/mfi_cam.c stable/8/sys/dev/mfi/mfi_pci.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/netinet/ (props changed) Modified: stable/8/sys/dev/mfi/mfi_cam.c ============================================================================== --- stable/8/sys/dev/mfi/mfi_cam.c Tue Mar 9 13:08:57 2010 (r204910) +++ stable/8/sys/dev/mfi/mfi_cam.c Tue Mar 9 13:32:50 2010 (r204911) @@ -95,6 +95,7 @@ static driver_t mfip_driver = { }; DRIVER_MODULE(mfip, mfi, mfip_driver, mfip_devclass, 0, 0); MODULE_DEPEND(mfip, cam, 1, 1, 1); +MODULE_DEPEND(mfip, mfi, 1, 1, 1); #define ccb_mfip_ptr sim_priv.entries[0].ptr Modified: stable/8/sys/dev/mfi/mfi_pci.c ============================================================================== --- stable/8/sys/dev/mfi/mfi_pci.c Tue Mar 9 13:08:57 2010 (r204910) +++ stable/8/sys/dev/mfi/mfi_pci.c Tue Mar 9 13:32:50 2010 (r204911) @@ -105,6 +105,7 @@ static driver_t mfi_pci_driver = { static devclass_t mfi_devclass; DRIVER_MODULE(mfi, pci, mfi_pci_driver, mfi_devclass, 0, 0); +MODULE_VERSION(mfi, 1); struct mfi_ident { uint16_t vendor;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003091332.o29DWpuR028461>