diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-07-09 14:34:08 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-07-09 14:34:08 -0500 |
commit | 9c99de7d0e44a53daebecd7f5f7df98fab5b353c (patch) | |
tree | 79490d4b88cad679881fab7788fd0b577f08f716 /testsuite | |
parent | subr_hints.c: For RTEMS use static_hints (diff) | |
download | rtems-libbsd-9c99de7d0e44a53daebecd7f5f7df98fab5b353c.tar.bz2 |
link01: Add static_hints and make nic-sysinit.h generic
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/link01/nic-sysinit.h | 4 | ||||
-rw-r--r-- | testsuite/link01/test.c | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/testsuite/link01/nic-sysinit.h b/testsuite/link01/nic-sysinit.h index 27ea316f..dbad732d 100644 --- a/testsuite/link01/nic-sysinit.h +++ b/testsuite/link01/nic-sysinit.h @@ -35,10 +35,6 @@ #include <freebsd/machine/rtems-bsd-sysinit.h> -#define CONFIGURE_NEED_NET -#define CONFIGURE_NEED_PCIB -#define CONFIGURE_NEED_NET_IF_FXP - /* * We "read" that and generate references and nexus devices */ 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 */ |