summaryrefslogtreecommitdiffstats
path: root/testsuite/link01/test.c
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2012-06-29 12:42:00 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-06-29 12:42:00 -0500
commit36ebd68c02b639ce02160f2ef18b606f4d9b239a (patch)
treef3e61a15e585b039e44ad0908053a142e51154e4 /testsuite/link01/test.c
parentAdded pcib. (diff)
downloadrtems-libbsd-36ebd68c02b639ce02160f2ef18b606f4d9b239a.tar.bz2
Added legacy in order to get pcib to work correctly and resoleved fxp attach issue.
The fxp attach has a resource allocation issue still to address, but should work as soon as that is debugged.
Diffstat (limited to 'testsuite/link01/test.c')
-rw-r--r--testsuite/link01/test.c48
1 files changed, 1 insertions, 47 deletions
diff --git a/testsuite/link01/test.c b/testsuite/link01/test.c
index 8d1a0045..661fe1d5 100644
--- a/testsuite/link01/test.c
+++ b/testsuite/link01/test.c
@@ -47,52 +47,6 @@ rtems_task Init(
#include <freebsd/machine/rtems-bsd-sysinit.h>
-/*
- * User says I need XXX
- */
-#define CONFIGURE_NEED_NET
-#define CONFIGURE_NEED_PCIB
-#define CONFIGURE_NEED_NET_IF_FXP
-
-/*
- * We "read" that and generate references and nexus devices
- */
-#if defined(CONFIGURE_NEED_NET)
- SYSINIT_NEED_FREEBSD_CORE;
-#endif
-
- SYSINIT_NEED_USB_CORE;
-#if defined(CONFIGURE_NEED_PCIB)
- SYSINIT_NEED_PCIB;
-#endif
-
-#if defined(CONFIGURE_NEED_NET_IF_FXP)
- SYSINIT_NEED_NET_IF_FXP;
-#endif
-#if defined(CONFIGURE_NEED_NET_IF_DC)
- SYSINIT_NEED_NET_IF_DC;
-#endif
-
-#if 0
-SYSINIT_NEED_NET_IF_BFE;
-SYSINIT_NEED_NET_IF_RE;
-SYSINIT_NEED_NET_IF_EM;
-SYSINIT_NEED_NET_IF_IGB;
-SYSINIT_NEED_NET_IF_BCE;
-SYSINIT_NEED_NET_IF_LEM;
-
-SYSINIT_NEED_NET_IF_BGE; // does not link 23 May 2012
-#endif
-
-
-const char *const _bsd_nexus_devices [] = {
- #if defined(CONFIGURE_NEED_PCIB)
- "pcib",
- #endif
- #if defined(CONFIGURE_NEED_NET_IF_FXP)
- "fxp",
- #endif
- NULL
-};
+#include "nic-sysinit.h"
/* end of file */