summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r--sys/pci/if_tl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 25b19f8..c546ad9 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -219,6 +219,8 @@ __FBSDID("$FreeBSD$");
#include <pci/if_tlreg.h>
+MODULE_DEPEND(tl, pci, 1, 1, 1);
+MODULE_DEPEND(tl, ether, 1, 1, 1);
MODULE_DEPEND(tl, miibus, 1, 1, 1);
/* "controller miibus0" required. See GENERIC if you get errors here. */
@@ -352,7 +354,7 @@ static driver_t tl_driver = {
static devclass_t tl_devclass;
-DRIVER_MODULE(if_tl, pci, tl_driver, tl_devclass, 0, 0);
+DRIVER_MODULE(tl, pci, tl_driver, tl_devclass, 0, 0);
DRIVER_MODULE(miibus, tl, miibus_driver, miibus_devclass, 0, 0);
static u_int8_t tl_dio_read8(sc, reg)
OpenPOWER on IntegriCloud