?? confignet.h
字號:
/* configNet.h - network configuration header *//* Copyright 1984-1999 Wind River Systems, Inc. *//*modification history--------------------01f,31mar99.dat SPR 25958, added #ifndef IP_MAX_UNITS01e,18mar99,cn changed to use sysMotCpmEnd (SPR# 25839). 01d,08feb99,cn changes required by performance improvement (SPR# 24883).01c,18nov98,cn changed motCmpEnd to motCpmEnd, CMP to CPM.01b,09nov98,cn added support for ads860T's FEC.01a,02jun98,cn written.*/ #ifndef INCconfigNeth#define INCconfigNeth#include "vxWorks.h"#include "end.h"/* defines */ #define PHY_10BASE_T 0x00 /* 10 Base-T */#define PHY_10BASE_T_FDX 0x01 /* 10 Base Tx, full duplex */#define PHY_100BASE_TX 0x02 /* 100 Base Tx */#define PHY_100BASE_TX_FDX 0x03 /* 100 Base TX, full duplex */#define PHY_100BASE_T4 0x04 /* 100 Base T4 */ #ifdef INCLUDE_CPM#define CPM_LOAD_FUNC sysMotCpmEndLoad/* motCpmAddr:ivec:sccNum:txBdNum:rxBdNum:txBdBase:rxBdBase:bufBase *//* * this is the default initialization string, valid for all ads860 * boards using SCC1. If running an 823, use SCC2 => the initialization * string slightly varies, in that both the SCC number and the interrupt * vector have different values */#define CPM_LOAD_STRING ""IMPORT END_OBJ* CPM_LOAD_FUNC (char *, void*);#endif /* INCLUDE_CPM *//* max number of SENS ipAttachments we can have */ #ifndef IP_MAX_UNITS# define IP_MAX_UNITS (NELEMENTS (endDevTbl) - 1)#endif END_TBL_ENTRY endDevTbl [] ={ { 0, CPM_LOAD_FUNC, CPM_LOAD_STRING, 1, NULL, FALSE}, { 0, END_TBL_END, NULL, 0, NULL, FALSE},};#endif /* INCconfigNeth */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -