o Add KLD support for scsi_low.
o Add KLD dependency of ncv, nsp and stg drivers to scsi_low. Submitted by: takawata
This commit is contained in:
parent
c9c98e9936
commit
499b1f4b70
@ -126,6 +126,7 @@ scsi_low_notify_pisa(dh, ev)
|
||||
#include <sys/buf.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/device_port.h>
|
||||
#include <sys/module.h>
|
||||
|
||||
#include <cam/scsi/scsi_low.h>
|
||||
#include <cam/scsi/scsi_low_pisa.h>
|
||||
@ -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__ */
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user