diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-11 18:28:31 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-11 18:28:31 +0000 |
commit | 57868567eab9b2c0860f69491444a7efdca4b1f6 (patch) | |
tree | 8e1063584c4903665e04ea4b15813ec05a600d3a /sys/dev/advansys | |
parent | 4ac57a46dba275489c3ff518c0ab347870d59644 (diff) | |
download | FreeBSD-src-57868567eab9b2c0860f69491444a7efdca4b1f6.zip FreeBSD-src-57868567eab9b2c0860f69491444a7efdca4b1f6.tar.gz |
Add MODULE_DEPENDS for cam, pci, mca, eisa and isa where needed.
PR: 106543
MFC after: 3 days
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r-- | sys/dev/advansys/adv_eisa.c | 1 | ||||
-rw-r--r-- | sys/dev/advansys/adv_isa.c | 1 | ||||
-rw-r--r-- | sys/dev/advansys/adv_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/advansys/advansys.c | 2 | ||||
-rw-r--r-- | sys/dev/advansys/adw_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/advansys/adwcam.c | 3 |
6 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/advansys/adv_eisa.c b/sys/dev/advansys/adv_eisa.c index 7457a6b..08b98d0 100644 --- a/sys/dev/advansys/adv_eisa.c +++ b/sys/dev/advansys/adv_eisa.c @@ -351,3 +351,4 @@ static driver_t adv_eisa_driver = { static devclass_t adv_eisa_devclass; DRIVER_MODULE(adv, eisa, adv_eisa_driver, adv_eisa_devclass, 0, 0); +MODULE_DEPEND(adv, eisa, 1, 1, 1); diff --git a/sys/dev/advansys/adv_isa.c b/sys/dev/advansys/adv_isa.c index 7bfb93b..dde65ef 100644 --- a/sys/dev/advansys/adv_isa.c +++ b/sys/dev/advansys/adv_isa.c @@ -430,3 +430,4 @@ static driver_t adv_isa_driver = { static devclass_t adv_isa_devclass; DRIVER_MODULE(adv, isa, adv_isa_driver, adv_isa_devclass, 0, 0); +MODULE_DEPEND(adv, isa, 1, 1, 1); diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index 9a0d9ec..7ce53b6 100644 --- a/sys/dev/advansys/adv_pci.c +++ b/sys/dev/advansys/adv_pci.c @@ -332,3 +332,4 @@ static driver_t adv_pci_driver = { static devclass_t adv_pci_devclass; DRIVER_MODULE(adv, pci, adv_pci_driver, adv_pci_devclass, 0, 0); +MODULE_DEPEND(adv, pci, 1, 1, 1); diff --git a/sys/dev/advansys/advansys.c b/sys/dev/advansys/advansys.c index 53d9e42..5a37af7 100644 --- a/sys/dev/advansys/advansys.c +++ b/sys/dev/advansys/advansys.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/kernel.h> #include <sys/lock.h> +#include <sys/module.h> #include <sys/mutex.h> #include <machine/bus.h> @@ -1443,3 +1444,4 @@ adv_attach(adv) xpt_action((union ccb *)&csa); return (0); } +MODULE_DEPEND(adv, cam, 1, 1, 1); diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c index 74ea7b5..8777a44 100644 --- a/sys/dev/advansys/adw_pci.c +++ b/sys/dev/advansys/adw_pci.c @@ -146,6 +146,7 @@ static driver_t adw_pci_driver = { static devclass_t adw_devclass; DRIVER_MODULE(adw, pci, adw_pci_driver, adw_devclass, 0, 0); +MODULE_DEPEND(adw, pci, 1, 1, 1); static __inline u_int64_t adw_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) diff --git a/sys/dev/advansys/adwcam.c b/sys/dev/advansys/adwcam.c index 1ec1877..ccf15eb 100644 --- a/sys/dev/advansys/adwcam.c +++ b/sys/dev/advansys/adwcam.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/lock.h> +#include <sys/module.h> #include <sys/mutex.h> #include <sys/bus.h> @@ -1580,3 +1581,5 @@ adw_handle_bus_reset(struct adw_softc *adw, int initiated) xpt_async(AC_BUS_RESET, adw->path, NULL); adw->last_reset = CAM_SCSI_BUS_RESET; } +MODULE_DEPEND(adw, cam, 1, 1, 1); + |