?? confignet.h
字號:
/* configNet.h - template for network configuration header file *//* Copyright 2002 Wind River Systems, Inc. *//*TODO - Remove the template modification history and begin a new history starting with version 01a and growing the history upward with each revision.modification history--------------------01a,21may02,scm written.*/#ifndef INCconfigNeth#define INCconfigNeth#ifdef __cplusplusextern "C" {#endif#include "vxWorks.h"#include "end.h"#ifdef INCLUDE_FEI_END#define FEI_LOAD_FUNC sysFei82557EndLoad/* The END_LOAD_STRING is defined empty and created dynamicaly */#define FEI_LOAD_STRING "" /* created in sysFei82557EndLoad */#define FEI_BUFF_LOAN 1/* * The fei82557End initialization string format is: * * <memBase>:<memSize>:<rxDesNum>:<txDesNum>:<userFlags>:<offset> */IMPORT END_OBJ * FEI_LOAD_FUNC (char *, void *);#endif /* INCLUDE_FEI_END */#ifdef INCLUDE_GEI_END#define GEI82543_LOAD_FUNC sysGei82543EndLoad /* driver external interface */#define GEI82543_LOAD_STRING "" #define GEI82543_BUFF_LOAN 1 /* enable/disable buffer loaning *//* * The gei82544End initialization string format is: * * <memBase>:<memSize>:<rxDesNum>:<txDesNum>:<userFlags>:<offset> */IMPORT END_OBJ* GEI82543_LOAD_FUNC (char *, void *);#endif /* INCLUDE_GEI_END */END_TBL_ENTRY endDevTbl [] = {/* Entries that can be filled in dynamically when cards are found */#ifdef INCLUDE_FEI_END /* Note that it is not strictly necessary to initialize the END table * this way for the fei driver. The driver front-end, sysfei82557end.c, * finds all instances of 8255x devices and will properly modify this * table according to the number of devices found. The default BSP has * just this one initialized entry but also leaves room for a number * of additional 55x devices, should they exist. If no instances of * the device are found, this one entry will be marked as processed * to prevent the MUX from trying to load a driver that has no device. * If more than one device is found, unused entries will be modified * with an appropriate unit number, etc., so the MUX can load them. * Please note that the driver front-end expects to find one and only * one pre-initialized entry for the fei driver. Additional entries, * if needed due to the discovery of additional devices, will be taken * from the empty entries -- * See sysfei82557End.c for more details. */ { 0, FEI_LOAD_FUNC, FEI_LOAD_STRING, FEI_BUFF_LOAN, NULL, FALSE},#endif /* INCLUDE_FEI_END */#if defined INCLUDE_GEI_END { 0, GEI82543_LOAD_FUNC, GEI82543_LOAD_STRING, GEI82543_BUFF_LOAN, NULL, FALSE},#ifndef INCLUDE_FEI_END { 0, GEI82543_LOAD_FUNC, GEI82543_LOAD_STRING, GEI82543_BUFF_LOAN, NULL, FALSE},#endif#endif/* End of table marker */ { 0, END_TBL_END, NULL, 0, NULL, FALSE}, /* ALWAYS EMPTY - never allocated */ };/* max number of SENS ipAttachments we can have */#ifndef IP_MAX_UNITS#if (defined INCLUDE_GEI_END && defined GEI_EXEC_START)#define IP_MAX_UNITS (NELEMENTS (endDevTbl))#else#define IP_MAX_UNITS (NELEMENTS (endDevTbl) - 1)#endif /* GEI_EXEC_START */#endif /* IP_MAX_UNITS */#ifdef __cplusplus}#endif#endif /* INCconfigNeth */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -