summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vr.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-04-29 13:41:57 +0000
committerpeter <peter@FreeBSD.org>2000-04-29 13:41:57 +0000
commit3f3fb18f8e37c634bd574e698ae854e4af38da5e (patch)
tree36fddc23448d2d608ccb140067d3ffa9a9c40d43 /sys/pci/if_vr.c
parente47f330f648743d5bf8bd4c10e057327828776af (diff)
downloadFreeBSD-src-3f3fb18f8e37c634bd574e698ae854e4af38da5e.zip
FreeBSD-src-3f3fb18f8e37c634bd574e698ae854e4af38da5e.tar.gz
Depend on miibus.
Note that if_aue doesn't strictly depend on usb because it uses the method interface for calls rather than using internal symbols, and because it's a child driver of usb and therefore will not try and do anything unless the parent usb code is loaded at some point. if_aue does strictly depend on miibus as it will fail to link if it is missing.
Diffstat (limited to 'sys/pci/if_vr.c')
-rw-r--r--sys/pci/if_vr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index 59c354f..6e1ed0e 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -100,6 +100,8 @@
#include <pci/if_vrreg.h>
+MODULE_DEPEND(vr, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
OpenPOWER on IntegriCloud