summaryrefslogtreecommitdiffstats
path: root/testsuite/link01/test.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:34:08 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:34:08 -0500
commit9c99de7d0e44a53daebecd7f5f7df98fab5b353c (patch)
tree79490d4b88cad679881fab7788fd0b577f08f716 /testsuite/link01/test.c
parentsubr_hints.c: For RTEMS use static_hints (diff)
downloadrtems-libbsd-9c99de7d0e44a53daebecd7f5f7df98fab5b353c.tar.bz2
link01: Add static_hints and make nic-sysinit.h generic
Diffstat (limited to 'testsuite/link01/test.c')
-rw-r--r--testsuite/link01/test.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/link01/test.c b/testsuite/link01/test.c
index 661fe1d5..1c4b2609 100644
--- a/testsuite/link01/test.c
+++ b/testsuite/link01/test.c
@@ -45,8 +45,23 @@ rtems_task Init(
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
+/*
+ * FreeBSD TCP/IP Initialization
+ */
+
#include <freebsd/machine/rtems-bsd-sysinit.h>
+#define CONFIGURE_NEED_NET
+#define CONFIGURE_NEED_PCIB
+#define CONFIGURE_NEED_NET_IF_FXP
+
+/*
+ * This is correct for the PC
+ */
+char static_hints[] = {
+ "hint.fxp.0.prefer_iomap=1\0\n"
+};
+
#include "nic-sysinit.h"
/* end of file */