diff options
Diffstat (limited to 'sys/dev/lge')
-rw-r--r-- | sys/dev/lge/if_lge.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index 2020440..18a22af 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -189,8 +189,11 @@ static driver_t lge_driver = { static devclass_t lge_devclass; -DRIVER_MODULE(if_lge, pci, lge_driver, lge_devclass, 0, 0); +DRIVER_MODULE(lge, pci, lge_driver, lge_devclass, 0, 0); DRIVER_MODULE(miibus, lge, miibus_driver, miibus_devclass, 0, 0); +MODULE_DEPEND(lge, pci, 1, 1, 1); +MODULE_DEPEND(lge, ether, 1, 1, 1); +MODULE_DEPEND(lge, miibus, 1, 1, 1); #define LGE_SETBIT(sc, reg, x) \ CSR_WRITE_4(sc, reg, \ |