When usb is kld, ucom and uplcom were failed to load because of

usbd_abort_pipe undefined.
This commit is contained in:
Hajimu UMEMOTO 2002-07-13 10:41:35 +00:00
parent a07af81154
commit ad85ae6de1
2 changed files with 2 additions and 0 deletions

View File

@ -174,6 +174,7 @@ static moduledata_t ucom_mod = {
};
DECLARE_MODULE(ucom, ucom_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE);
MODULE_DEPEND(uplcom, usb, 1, 1, 1);
MODULE_VERSION(ucom, UCOM_MODVER);
int

View File

@ -228,6 +228,7 @@ Static driver_t uplcom_driver = {
};
DRIVER_MODULE(uplcom, uhub, uplcom_driver, ucom_devclass, usbd_driver_load, 0);
MODULE_DEPEND(uplcom, usb, 1, 1, 1);
MODULE_DEPEND(uplcom, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER);
MODULE_VERSION(uplcom, UPLCOM_MODVER);