svn commit: r204590 - head/sys/dev/mfi
Konstantin Belousov
kib at FreeBSD.org
Tue Mar 2 17:34:11 UTC 2010
Author: kib
Date: Tue Mar 2 17:34:11 2010
New Revision: 204590
URL: http://svn.freebsd.org/changeset/base/204590
Log:
Correct mfip module dependency on mfi. This allows mfip to be loaded as
module when mfi is a module itself.
Reviewed by: jhb, scottl
MFC after: 1 week
Modified:
head/sys/dev/mfi/mfi_cam.c
head/sys/dev/mfi/mfi_pci.c
Modified: head/sys/dev/mfi/mfi_cam.c
==============================================================================
--- head/sys/dev/mfi/mfi_cam.c Tue Mar 2 17:24:33 2010 (r204589)
+++ head/sys/dev/mfi/mfi_cam.c Tue Mar 2 17:34:11 2010 (r204590)
@@ -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: head/sys/dev/mfi/mfi_pci.c
==============================================================================
--- head/sys/dev/mfi/mfi_pci.c Tue Mar 2 17:24:33 2010 (r204589)
+++ head/sys/dev/mfi/mfi_pci.c Tue Mar 2 17:34:11 2010 (r204590)
@@ -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;
More information about the svn-src-head
mailing list