link01: Add static_hints and make nic-sysinit.h generic

This commit is contained in:
Joel Sherrill 2012-07-09 14:34:08 -05:00
parent 7a1309a304
commit 9c99de7d0e
2 changed files with 15 additions and 4 deletions

View File

@ -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
*/

View File

@ -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 */