mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 07:19:36 +08:00
link01: Add static_hints and make nic-sysinit.h generic
This commit is contained in:
parent
7a1309a304
commit
9c99de7d0e
@ -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
|
||||
*/
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user