summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme/if_hme_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hme/if_hme_pci.c')
-rw-r--r--sys/dev/hme/if_hme_pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c
index 80ae966..5c06c61 100644
--- a/sys/dev/hme/if_hme_pci.c
+++ b/sys/dev/hme/if_hme_pci.c
@@ -109,7 +109,9 @@ static driver_t hme_pci_driver = {
sizeof(struct hme_pci_softc)
};
-DRIVER_MODULE(if_hme, pci, hme_pci_driver, hme_devclass, 0, 0);
+DRIVER_MODULE(hme, pci, hme_pci_driver, hme_devclass, 0, 0);
+MODULE_DEPEND(hme, pci, 1, 1, 1);
+MODULE_DEPEND(hme, ether, 1, 1, 1);
int
hme_pci_probe(device_t dev)
OpenPOWER on IntegriCloud