📄 confignet.h
字号:
/* configNet.h - network configuration header for V100R001SCB */
/* Copyright 2002-2005 Founder Communications,Inc. */
/*
modification history
--------------------
01a,20feb05,fhchen adapted from wrSbc8260Atm/configNet.h (ver 01c)
*/
/*
DESCRIPTION
This file contains the configuration parameters for networking devices
on the board. Two FCC are used in SCB: FCC1 and FCC3.
*/
/*
TODO
----
- can we boot via smc using serial IP?
*/
#ifndef __INCconfigNeth
#define __INCconfigNeth
#ifdef __cplusplus
extern "C" {
#endif
/* inlcudes */
#include "vxWorks.h"
#include "end.h"
#include "lstLib.h"
#ifdef INCLUDE_MOTFCCEND
# include "miiLib.h"
#endif /* INCLUDE_MOTFCCEND */
#include "config.h"
/* Motorola Fast Ethernet Controller */
#ifdef INCLUDE_MOTFCCEND
# define MOT_FCC1_LOAD_FUNC sysMotFcc1EndLoad
# define MOT_FCC1_LOAD_STRING "" /* sysMotFcc1EndLoad will built the string */
# define MOT_FCC3_LOAD_FUNC sysMotFcc3EndLoad
# define MOT_FCC3_LOAD_STRING "" /* sysMotFcc3EndLoad will built the string */
IMPORT END_OBJ* MOT_FCC1_LOAD_FUNC (char *, void*);
IMPORT END_OBJ* MOT_FCC3_LOAD_FUNC (char *, void*);
#endif /* INCLUDE_MOTFCCEND */
/* End Driver Table */
END_TBL_ENTRY endDevTbl[] =
{
#ifdef INCLUDE_MOTFCCEND
{ 0, MOT_FCC1_LOAD_FUNC, MOT_FCC1_LOAD_STRING, 1, NULL, FALSE},
{ 1, MOT_FCC3_LOAD_FUNC, MOT_FCC3_LOAD_STRING, 1, NULL, FALSE},
#endif /* INCLUDE_MOTFCCEND */
{ 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 + -