summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.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_rl.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_rl.c')
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 6d7bc55..e5f4928 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -115,6 +115,8 @@
#include <pci/pcireg.h>
#include <pci/pcivar.h>
+MODULE_DEPEND(rl, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
OpenPOWER on IntegriCloud