Add missing MODULE_DEPEND() so that ppbus.ko and these .ko's can be

loaded dynamically.
This commit is contained in:
Ruslan Ermilov 2005-12-21 10:54:47 +00:00
parent 487e86678e
commit f5fd56117e
6 changed files with 6 additions and 0 deletions

View File

@ -770,3 +770,4 @@ static driver_t lp_driver = {
};
DRIVER_MODULE(plip, ppbus, lp_driver, lp_devclass, 0, 0);
MODULE_DEPEND(plip, ppbus, 1, 1, 1);

View File

@ -226,5 +226,6 @@ static driver_t lpbb_driver = {
};
DRIVER_MODULE(lpbb, ppbus, lpbb_driver, lpbb_devclass, 0, 0);
MODULE_DEPEND(lpbb, ppbus, 1, 1, 1);
MODULE_DEPEND(lpbb, iicbb, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER);
MODULE_VERSION(lpbb, 1);

View File

@ -965,3 +965,4 @@ static driver_t lpt_driver = {
};
DRIVER_MODULE(lpt, ppbus, lpt_driver, lpt_devclass, 0, 0);
MODULE_DEPEND(lpt, ppbus, 1, 1, 1);

View File

@ -575,3 +575,4 @@ static driver_t ppi_driver = {
sizeof(struct ppi_data),
};
DRIVER_MODULE(ppi, ppbus, ppi_driver, ppi_devclass, 0, 0);
MODULE_DEPEND(ppi, ppbus, 1, 1, 1);

View File

@ -321,3 +321,4 @@ static driver_t pps_driver = {
sizeof(struct pps_data),
};
DRIVER_MODULE(pps, ppbus, pps_driver, pps_devclass, 0, 0);
MODULE_DEPEND(pps, ppbus, 1, 1, 1);

View File

@ -2153,3 +2153,4 @@ ppc_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih)
DRIVER_MODULE(ppc, isa, ppc_driver, ppc_devclass, 0, 0);
DRIVER_MODULE(ppc, acpi, ppc_driver, ppc_devclass, 0, 0);
MODULE_DEPEND(ppc, ppbus, 1, 1, 1);