Make these depend on the usb module so they can use its symbols if they
are loaded as seperate .ko files
This commit is contained in:
parent
89ea00a7d8
commit
1408f3e993
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82129
@ -91,7 +91,8 @@
|
||||
|
||||
#include <dev/usb/if_auereg.h>
|
||||
|
||||
MODULE_DEPEND(aue, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(if_aue, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(if_aue, usb, 1, 1, 1);
|
||||
|
||||
/* "controller miibus0" required. See GENERIC if you get errors here. */
|
||||
#include "miibus_if.h"
|
||||
|
@ -148,7 +148,7 @@ Static driver_t cue_driver = {
|
||||
Static devclass_t cue_devclass;
|
||||
|
||||
DRIVER_MODULE(if_cue, uhub, cue_driver, cue_devclass, usbd_driver_load, 0);
|
||||
MODULE_DEPEND(dname, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(if_cue, usb, 1, 1, 1);
|
||||
|
||||
#define CUE_SETBIT(sc, reg, x) \
|
||||
csr_write_1(sc, reg, csr_read_1(sc, reg) | (x))
|
||||
|
@ -97,6 +97,8 @@ static const char rcsid[] =
|
||||
"$FreeBSD$";
|
||||
#endif
|
||||
|
||||
MODULE_DEPEND(if_kue, usb, 1, 1, 1);
|
||||
|
||||
/*
|
||||
* Various supported device vendors/products.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user