📄 confignet.h
字号:
/* configNet.h - network configuration header *//* Copyright 1984-2002 Wind River Systems, Inc. *//*modification history--------------------01a,26mar01,gh written.*/#ifndef __INCconfigNeth#define __INCconfigNeth#include "vxWorks.h"#include "end.h"#include "config.h"#ifdef INCLUDE_FEI82557END#define FEI_LOAD_FUNC sysFei82557EndLoad /* driver external interface */#define FEI_BUFF_LOAN 1/* The END_LOAD_STRING is defined empty and created dynamicaly */#define FEI_LOAD_STRING "" /* created in sysFei82557EndLoad */IMPORT END_OBJ * FEI_LOAD_FUNC (char*, void*);#endif /* INCLUDE_FEI82557END */#ifdef INCLUDE_GEI_END#define GEI82543_LOAD_FUNC gei82543EndLoad /* external interface */#define GEI82543_BUFF_LOAN 1 /* enable buffer loan */#define GEI_MAX_UNITS 1 /* Maximum device units */#define GEI82543_LOAD_STRING_0 geiEndLoadStr[0]char geiEndLoadStr [GEI_MAX_UNITS] [END_DESC_MAX] = {{0}};IMPORT END_OBJ* GEI82543_LOAD_FUNC (char*, void*);#endif /* (CARRIER_TYPE == PRPMC_G) *//* Galileo GT-642xx Ethernet Port 0,1,2 devices support. *//* The wancom string defines the following: *//* "<memBase>:<memSize>:<nCFDs>:<nRFDs>:<flags>" */#ifdef INCLUDE_WANCOMEND#define WANCOM_LOAD_FUNC sysWancomEndLoad#define WANCOM0_STRING ""#define WANCOM1_STRING ""IMPORT END_OBJ* WANCOM_LOAD_FUNC(char*, void*);#endif/* bump the number of allowable IP interfaces */#undef IP_MAX_UNITS#define IP_MAX_UNITS (NELEMENTS(endDevTbl) - 1)/* modified so the initialization adds all the needed information, the size of this thing should be as large as DCF_MAX_UNITS +1. EN*/END_TBL_ENTRY endDevTbl [] ={#ifdef INCLUDE_WANCOMEND { 0, WANCOM_LOAD_FUNC, WANCOM0_STRING, 0, NULL, FALSE}, { 1, WANCOM_LOAD_FUNC, WANCOM1_STRING, 0, NULL, FALSE},#endif #ifdef INCLUDE_FEI82557END { 0, FEI_LOAD_FUNC, FEI_LOAD_STRING, FEI_BUFF_LOAN, NULL, FALSE},#endif /* INCLUDE_FEI82557END */#ifdef INCLUDE_GEI_END { 0, GEI82543_LOAD_FUNC, GEI82543_LOAD_STRING_0, GEI82543_BUFF_LOAN, NULL, FALSE},#endif { 0, END_TBL_END, NULL, 0, NULL, FALSE},};#endif /* __INCconfigNeth */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -