[rtems-libbsd commit] Add SYSINIT reference defines

Sebastian Huber sebh at rtems.org
Thu May 10 15:01:56 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    06e6d19b1c43d5d95c5676ab46ec99ce6662517b
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=06e6d19b1c43d5d95c5676ab46ec99ce6662517b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu May 10 17:03:15 2012 +0200

Add SYSINIT reference defines

---

 rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h |   28 ++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h b/rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h
index a8d1fbb..bd9cc13 100644
--- a/rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h
+++ b/rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h
@@ -58,8 +58,32 @@
 	SYSINIT_DRIVER_REFERENCE(mmc, sdhci); \
 	SYSINIT_DRIVER_REFERENCE(mmcsd, mmc)
 
-#define SYSINIT_NEED_NET_MII \
-  SYSINIT_DRIVER_REFERENCE(icsphy, miibus);
+#define SYSINIT_NEED_NET_IF_BFE \
+	SYSINIT_DRIVER_REFERENCE(bfe, pci)
+
+#define SYSINIT_NEED_NET_IF_RE \
+	SYSINIT_DRIVER_REFERENCE(re, pci)
+
+#define SYSINIT_NEED_NET_IF_EM \
+	SYSINIT_DRIVER_REFERENCE(em, pci)
+
+#define SYSINIT_NEED_NET_IF_IGB \
+	SYSINIT_DRIVER_REFERENCE(igb, pci)
+
+#define SYSINIT_NEED_NET_IF_LEM \
+	SYSINIT_DRIVER_REFERENCE(lem, pci)
+
+#define SYSINIT_NEED_NET_IF_BCE \
+	SYSINIT_DRIVER_REFERENCE(bce, pci)
+
+#define SYSINIT_NEED_NET_IF_BGE \
+	SYSINIT_DRIVER_REFERENCE(bge, pci)
+
+#define SYSINIT_NEED_NET_IF_FXP \
+	SYSINIT_DRIVER_REFERENCE(fxp, pci)
+
+#define SYSINIT_NEED_NET_IF_DC \
+	SYSINIT_DRIVER_REFERENCE(dc, pci)
 
 /* FIXME */
 extern const char *const _bsd_nexus_devices [];




More information about the vc mailing list