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

📄 confignet.h

📁 Freescale mpc834x 的VxWorks平台的BSP源代码。
💻 H
字号:
/* configNet.h - network configuration header *//* * Copyright (c) 2006 Wind River Systems, Inc. * * The right to copy, distribute, modify or otherwise make use * of this software may be licensed only pursuant to the terms * of an applicable Wind River license agreement. *//*modification history--------------------01c,10mar06,kds  modify for gei8254xEndLoad01b,05aug05,j_b  remove FEI END01a,04feb05,dtr  written from ads8560/configNet.h.*/#ifndef INCconfigNeth#define INCconfigNeth#include <vxWorks.h>#include "config.h"#include <end.h>#include <miiLib.h>/* defines */#define SYS_END_BUFF_LOAN_PRI   1#define SYS_END_BUFF_LOAN_SEC   2#define SYS_END_BUFF_LOAN_TER   3#define SYS_END_BUFF_LOAN_QUA   4#define SYS_END_BUFF_LOAN_QUI   5#define SYS_END_BUFF_LOAN_SEN   6#ifdef INCLUDE_GEI_END#   define GEI82543_LOAD_FUNC     sysGei8254xEndLoad  /* external interface */#   define GEI82543_BUFF_LOAN     1                /* enable buffer loan */#   define GEI_MAX_UNITS          1                /* Maximum device units */#   define GEI82543_LOAD_STRING_0 geiEndLoadStrchar geiEndLoadStr [END_DESC_MAX] = {0};IMPORT END_OBJ* GEI82543_LOAD_FUNC (char*, void*);#endif#ifdef INCLUDE_MOT_TSEC_END#define END_LOAD_FUNC_PRI       sysMotTsecEndLoad#define END_BUFF_LOAN_PRI       SYS_END_BUFF_LOAN_PRI#define END_LOAD_FUNC_SEC       sysMotTsecEndLoad#define END_BUFF_LOAN_SEC       SYS_END_BUFF_LOAN_SEC#endif#if defined(INCLUDE_PRIMARY_TSEC_END)IMPORT END_OBJ * END_LOAD_FUNC_PRI (char *, void*);#endif#if defined(INCLUDE_SECONDARY_TSEC_END)IMPORT END_OBJ * END_LOAD_FUNC_SEC (char *, void*);#endif#define END_LOAD_STRING ""      /* created in sys<device>End.c *//* max number of SENS ipAttachments we can have */#ifndef IP_MAX_UNITS#   define IP_MAX_UNITS (NELEMENTS (endDevTbl) - 1)#endifEND_TBL_ENTRY endDevTbl [] ={#if defined(INCLUDE_PRIMARY_TSEC_END)    {0, END_LOAD_FUNC_PRI, END_LOAD_STRING, END_BUFF_LOAN_PRI, NULL},#endif#if defined(INCLUDE_SECONDARY_TSEC_END)    {1, END_LOAD_FUNC_SEC, END_LOAD_STRING, END_BUFF_LOAN_SEC, NULL},#endif#ifdef INCLUDE_GEI8254X_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 + -