summaryrefslogtreecommitdiff
path: root/sys/dev/my
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
commitf246e4a17fd469ab781124a678e103d44d637c5f (patch)
tree1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/my
parent10646d5f83c7e84f352d3ea4d96caeb6c166859b (diff)
Notes
Diffstat (limited to 'sys/dev/my')
-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 9529996381a8..98dfbed71e31 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)