summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_wb.c')
-rw-r--r--sys/pci/if_wb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index fe5ec34..61c2674 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -125,6 +125,8 @@ __FBSDID("$FreeBSD$");
#include <pci/if_wbreg.h>
+MODULE_DEPEND(wb, pci, 1, 1, 1);
+MODULE_DEPEND(wb, ether, 1, 1, 1);
MODULE_DEPEND(wb, miibus, 1, 1, 1);
/*
@@ -218,7 +220,7 @@ static driver_t wb_driver = {
static devclass_t wb_devclass;
-DRIVER_MODULE(if_wb, pci, wb_driver, wb_devclass, 0, 0);
+DRIVER_MODULE(wb, pci, wb_driver, wb_devclass, 0, 0);
DRIVER_MODULE(miibus, wb, miibus_driver, miibus_devclass, 0, 0);
#define WB_SETBIT(sc, reg, x) \
OpenPOWER on IntegriCloud