diff options
Diffstat (limited to 'sys/dev/sf/if_sf.c')
-rw-r--r-- | sys/dev/sf/if_sf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 388a22a..ea3cf3e 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -118,6 +118,8 @@ __FBSDID("$FreeBSD$"); #include <pci/if_sfreg.h> +MODULE_DEPEND(sf, pci, 1, 1, 1); +MODULE_DEPEND(sf, ether, 1, 1, 1); MODULE_DEPEND(sf, miibus, 1, 1, 1); static struct sf_type sf_devs[] = { @@ -203,7 +205,7 @@ static driver_t sf_driver = { static devclass_t sf_devclass; -DRIVER_MODULE(if_sf, pci, sf_driver, sf_devclass, 0, 0); +DRIVER_MODULE(sf, pci, sf_driver, sf_devclass, 0, 0); DRIVER_MODULE(miibus, sf, miibus_driver, miibus_devclass, 0, 0); #define SF_SETBIT(sc, reg, x) \ |