diff options
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r-- | sys/pci/if_sis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 21d2c2e..dfbb560 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -96,6 +96,8 @@ __FBSDID("$FreeBSD$"); #include <pci/if_sisreg.h> +MODULE_DEPEND(sis, pci, 1, 1, 1); +MODULE_DEPEND(sis, ether, 1, 1, 1); MODULE_DEPEND(sis, miibus, 1, 1, 1); /* "controller miibus0" required. See GENERIC if you get errors here. */ @@ -199,7 +201,7 @@ static driver_t sis_driver = { static devclass_t sis_devclass; -DRIVER_MODULE(if_sis, pci, sis_driver, sis_devclass, 0, 0); +DRIVER_MODULE(sis, pci, sis_driver, sis_devclass, 0, 0); DRIVER_MODULE(miibus, sis, miibus_driver, miibus_devclass, 0, 0); #define SIS_SETBIT(sc, reg, x) \ |