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

📄 confignet.h

📁 wind river提供的MPC8260的BSP典型代码
💻 H
字号:
/* configNet.h - network configuration header for SBC8260 *//* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01c,12jun02,kab  SPR 74987: cplusplus protection01b,13may02,gjc  Fixing motfcc device number to 001a,19apr99,elk adapted from ads860/configNet.h (ver. 01f).*/ #ifndef __INCconfigNeth#define __INCconfigNeth#ifdef __cplusplus    extern "C" {#endif#include "vxWorks.h"#include "end.h"#include "lstLib.h"#ifdef INCLUDE_MOTFCCEND  #include "miiLib.h"#endif /* INCLUDE_MOTFCCEND */#include "config.h" #ifdef INCLUDE_MOTSCCEND#define SCC_LOAD_FUNC	sysMotSccEndLoad/* * the default initialization string for the SCC is built in sysMotSccEnd.c */#define SCC_LOAD_STRING  ""IMPORT END_OBJ* SCC_LOAD_FUNC (char *, void*);#endif /* INCLUDE_MOTSCCEND */#ifdef INCLUDE_MOTFCCEND/* Motorola Fast Ethernet Controller */#define MOT_FCC_LOAD_FUNC    sysMotFccEndLoad/* * the default initialization string for the FCC is built in sysMotFccEnd.c */#define MOT_FCC_LOAD_STRING  ""IMPORT END_OBJ* MOT_FCC_LOAD_FUNC (char *, void*);#endif /* INCLUDE_MOTFCCEND *//* End Driver Table */END_TBL_ENTRY endDevTbl [] ={#if defined(INCLUDE_MOTFCCEND) && defined(INCLUDE_MOTSCCEND)    { 0, SCC_LOAD_FUNC    , SCC_LOAD_STRING    , 1, NULL, FALSE},    { 0, MOT_FCC_LOAD_FUNC, MOT_FCC_LOAD_STRING, 1, NULL, FALSE},#else#ifdef INCLUDE_MOTFCCEND    { 0, MOT_FCC_LOAD_FUNC, MOT_FCC_LOAD_STRING, 1, NULL, FALSE},#endif /* INCLUDE_MOTFCCEND */#ifdef INCLUDE_MOTSCCEND    { 0, SCC_LOAD_FUNC    , SCC_LOAD_STRING    , 1, NULL, FALSE},#endif /* INCLUDE_MOTSCCEND */#endif /* INCLUDE_MOTFCCEND and INCLUDE_MOTSCCEND */    { 0, END_TBL_END      , NULL               , 0, NULL, FALSE},};/* max number of SENS ipAttachments we can have */#ifndef IP_MAX_UNITS#define IP_MAX_UNITS (NELEMENTS (endDevTbl) - 1)#endif#ifdef __cplusplus    }#endif#endif /* __INCconfigNeth */

⌨️ 快捷键说明

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