aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-04-29 13:41:57 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-04-29 13:41:57 +0000
commit95a1645553285f84b844f5a1e32e6edf70c58f0d (patch)
treed898b40023dad6fd99b9dae73660f8e60ee75ca3 /sys/pci/if_rl.c
parent9ad6460a9e61e7f13d9e165d571016a0e3af2141 (diff)
downloadsrc-95a1645553285f84b844f5a1e32e6edf70c58f0d.tar.gz
src-95a1645553285f84b844f5a1e32e6edf70c58f0d.zip
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.
Notes
Notes: svn path=/head/; revision=59758
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 6d7bc55b41ca..e5f4928cb3b0 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"