summaryrefslogtreecommitdiffstats
path: root/sys/dev/txp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/txp')
-rw-r--r--sys/dev/txp/if_txp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index dec498f..fb85927 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -182,7 +182,9 @@ static driver_t txp_driver = {
static devclass_t txp_devclass;
-DRIVER_MODULE(if_txp, pci, txp_driver, txp_devclass, 0, 0);
+DRIVER_MODULE(txp, pci, txp_driver, txp_devclass, 0, 0);
+MODULE_DEPEND(txp, pci, 1, 1, 1);
+MODULE_DEPEND(txp, ether, 1, 1, 1);
static int
txp_probe(dev)
OpenPOWER on IntegriCloud