summaryrefslogtreecommitdiffstats
path: root/sys/pci
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
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')
-rw-r--r--sys/pci/if_dc.c2
-rw-r--r--sys/pci/if_rl.c2
-rw-r--r--sys/pci/if_sf.c2
-rw-r--r--sys/pci/if_sis.c2
-rw-r--r--sys/pci/if_ste.c2
-rw-r--r--sys/pci/if_tl.c2
-rw-r--r--sys/pci/if_tx.c2
-rw-r--r--sys/pci/if_vr.c2
-rw-r--r--sys/pci/if_wb.c2
-rw-r--r--sys/pci/if_xl.c2
10 files changed, 20 insertions, 0 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index d25727c..67f46f8 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -147,6 +147,8 @@
#include <pci/if_dcreg.h>
+MODULE_DEPEND(dc, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
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"
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index 5af924b..5fb33a9 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -118,6 +118,8 @@
#include <pci/if_sfreg.h>
+MODULE_DEPEND(sf, miibus, 1, 1, 1);
+
#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 68550a7..132fbf3 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -90,6 +90,8 @@
#include <pci/if_sisreg.h>
+MODULE_DEPEND(sis, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index eb56c7b..bb95150 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -76,6 +76,8 @@
#include <pci/if_stereg.h>
+MODULE_DEPEND(ste, miibus, 1, 1, 1);
+
#if !defined(lint)
static const char rcsid[] =
"$FreeBSD$";
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 93ed0a3..28c4fab 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -219,6 +219,8 @@
#include <pci/if_tlreg.h>
+MODULE_DEPEND(tl, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
diff --git a/sys/pci/if_tx.c b/sys/pci/if_tx.c
index fa03716..0f37ca3 100644
--- a/sys/pci/if_tx.c
+++ b/sys/pci/if_tx.c
@@ -130,6 +130,8 @@
#include <dev/pci/if_txvar.h>
#endif
+MODULE_DEPEND(tx, miibus, 1, 1, 1);
+
#if defined(__FreeBSD__)
#define EPIC_INTR_RET_TYPE void
#else /* __OpenBSD__ */
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"
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index e4efc84..168faf0 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -129,6 +129,8 @@
#include <pci/if_wbreg.h>
+MODULE_DEPEND(wb, miibus, 1, 1, 1);
+
#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 0525e00..a03e138 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -129,6 +129,8 @@
#include <pci/pcireg.h>
#include <pci/pcivar.h>
+MODULE_DEPEND(xl, miibus, 1, 1, 1);
+
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
OpenPOWER on IntegriCloud