configNet.h
资源名称:idt438.rar [点击查看]
上传用户:yingyi0918
上传日期:2022-06-26
资源大小:214k
文件大小:2k
源码类别:
VxWorks
开发平台:
C/C++
- /* configNet.h - BSP Network configuration header file */
- /* Copyright 1984-2002 Wind River Systems, Inc. */
- #include "copyright_wrs.h"
- /*
- * This file has been developed or significantly modified by the
- * MIPS Center of Excellence Dedicated Engineering Staff.
- * This notice is as per the MIPS Center of Excellence Master Partner
- * Agreement, do not remove this notice without checking first with
- * WR/Platforms MIPS Center of Excellence engineering management.
- */
- /*
- modification history
- --------------------
- 01a,01jan02,krao created for 79IDTPMC438 board
- */
- #ifndef __INCconfigNeth
- #define __INCconfigNeth
- #ifdef __cplusplus
- extern "C" {
- #endif /* __cplusplus */
- /*includes*/
- #include "config.h"
- #include "vxWorks.h"
- #include "end.h"
- /*defines*/
- #ifdef INCLUDE_IDT_END
- #define IDT32438_LOAD_FUNC idt32438EndLoad /* driver external interface */
- #define IDT32438_BUFF_LOAN 1 /* enable buffer loaning */
- #define IDT_ADDR_LEN 14
- /*
- * The idt32438EndLoad initialization string format is:
- *
- *
- *"<intVec>:<regBase>:<nTFDs>:<nRFDs>:<userFlags>"
- *
- */
- #define IDT438_LOAD_STRING0 "68:0xB8000000:0x1f4:0x1f4:0x00"
- #define IDT438_LOAD_STRING1 "60:0xB8000000:0x1f4:0x1f4:0x00"
- IMPORT END_OBJ* IDT32438_LOAD_FUNC (char*, void*);
- #endif
- END_TBL_ENTRY endDevTbl [] =
- {
- #ifdef INCLUDE_IDT_END
- { 0, IDT32438_LOAD_FUNC, IDT438_LOAD_STRING0, IDT32438_BUFF_LOAN,
- NULL, FALSE},
- #if (NUM_IDT_UNITS == 2)
- { 1, IDT32438_LOAD_FUNC, IDT438_LOAD_STRING1, IDT32438_BUFF_LOAN,
- NULL, FALSE},
- #endif
- #endif
- { 0, END_TBL_END, NULL, 0, NULL, FALSE},
- };
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
- #endif /* __INCconfigNeth */