diff --git a/sys/cam/scsi/scsi_low_pisa.c b/sys/cam/scsi/scsi_low_pisa.c index d15367bbdb8d..f138aa1f1367 100644 --- a/sys/cam/scsi/scsi_low_pisa.c +++ b/sys/cam/scsi/scsi_low_pisa.c @@ -126,6 +126,7 @@ scsi_low_notify_pisa(dh, ev) #include #include #include +#include #include #include @@ -153,4 +154,14 @@ scsi_low_activate_pisa(sc, flags) return EBUSY; return 0; } + +static moduledata_t scsi_low_moduledata = { + "scsi_low", + NULL, + NULL +}; + +DECLARE_MODULE(scsi_low, scsi_low_moduledata, SI_SUB_DRIVERS, SI_ORDER_MIDDLE); +MODULE_VERSION(scsi_low, 1); +MODULE_DEPEND(scsi_low, cam, 1, 1, 1); #endif /* __FreeBSD__ */ diff --git a/sys/dev/ncv/ncr53c500_pccard.c b/sys/dev/ncv/ncr53c500_pccard.c index 03e8ce96ab0e..2ff389757ae1 100644 --- a/sys/dev/ncv/ncr53c500_pccard.c +++ b/sys/dev/ncv/ncr53c500_pccard.c @@ -261,6 +261,7 @@ static driver_t ncv_pccard_driver = { static devclass_t ncv_devclass; +MODULE_DEPEND(ncv, scsi_low, 1, 1, 1); DRIVER_MODULE(ncv, pccard, ncv_pccard_driver, ncv_devclass, 0, 0); static void diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index f0235fda9029..b8f70fbbbcee 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -238,6 +238,7 @@ static driver_t nsp_pccard_driver = { static devclass_t nsp_devclass; +MODULE_DEPEND(nsp, scsi_low, 1, 1, 1); DRIVER_MODULE(nsp, pccard, nsp_pccard_driver, nsp_devclass, 0, 0); static void diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c index 833744a257c2..72d60e905968 100644 --- a/sys/dev/stg/tmc18c30_pccard.c +++ b/sys/dev/stg/tmc18c30_pccard.c @@ -236,6 +236,7 @@ static driver_t stg_pccard_driver = { static devclass_t stg_devclass; +MODULE_DEPEND(stg, scsi_low, 1, 1, 1); DRIVER_MODULE(stg, pccard, stg_pccard_driver, stg_devclass, 0, 0); static void