www.pudn.com > MPC8241BSP.rar > configNet.h


/* configNet.h - network configuration header */ 
 
/* Copyright 1984-2000 Wind River Systems, Inc. */ 
/* Copyright 1999-2000 Motorola, Inc. All Rights Reserved */ 
 
/* 
modification history 
-------------------- 
01a,14apr00,rhk  created (from version 01a of mv5100/configNet.h). 
*/ 
  
#ifndef INCnetConfigh 
#define INCnetConfigh 
 
#include "vxWorks.h" 
#include "end.h" 
 
 
 
 
 
#ifdef INCLUDE_RTL_CP_END 
/* 
 * load string format 
 * ::::: 
 * :::: 
 */ 
  
#define RTL_81X9_BUFF_LOAN_0      1 
#define RTL_81X9_LOAD_FUNC        sysRtlcpEndLoad 
#define RTL_81X9_LOAD_STR_0       endLoadStr[0] /* First entry loc */ 
#define RTL_81X9_LOAD_COUNT       4 
#define RTL81x9_BUFF_LOAN			1 
 
IMPORT END_OBJ * RTL_81X9_LOAD_FUNC (char *, void *); 
 
char endLoadStr [RTL_81X9_LOAD_COUNT] [END_DESC_MAX];  
   
#endif /* INCLUDE_RTL_CP_END */ 
 
 
/* define IP_MAX_UNITS to the actual number in the table. */ 
 
/*#ifndef IP_MAX_UNITS */ 
 
/*#endif */ /* ifndef IP_MAX_UNITS */ 
 
 
 
/* modify by zoutl for test 2003-4-17 11:14: 0-->1 */ 
END_TBL_ENTRY endDevTbl [] = 
{ 
    {0, RTL_81X9_LOAD_FUNC, RTL_81X9_LOAD_STR_0, RTL81x9_BUFF_LOAN, NULL, FALSE},     
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}, 
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}, 
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}, 
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}, 
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}, 
}; 
 
/* add by zoutl 2003/2/24 */ 
#ifdef IP_MAX_UNITS 
#undef IP_MAX_UNITS  
#endif 
 
#   define IP_MAX_UNITS            (NELEMENTS(endDevTbl) - 1) 
 
 
#endif /* INCnetConfigh */