⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 confignet.h

📁 基于如何开发MPC860处理器系统的核心业务模块QMC的开发程序
💻 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 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -