summaryrefslogtreecommitdiffstats
path: root/sys/dev/my/if_my.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/my/if_my.c')
-rw-r--r--sys/dev/my/if_my.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c
index 9529996..98dfbed 100644
--- a/sys/dev/my/if_my.c
+++ b/sys/dev/my/if_my.c
@@ -171,7 +171,9 @@ static driver_t my_driver = {
static devclass_t my_devclass;
-DRIVER_MODULE(if_my, pci, my_driver, my_devclass, 0, 0);
+DRIVER_MODULE(my, pci, my_driver, my_devclass, 0, 0);
+MODULE_DEPEND(my, pci, 1, 1, 1);
+MODULE_DEPEND(my, ether, 1, 1, 1);
static long
my_send_cmd_to_phy(struct my_softc * sc, int opcode, int regad)
OpenPOWER on IntegriCloud