confignet.h

来自「ATMEL920T的BSP及ETH等已经设备驱动程序」· C头文件 代码 · 共 55 行

H
55
字号
/* configNet.h - network configuration header */

/* Copyright 1999-2000 Wind River Systems, Inc. */
/* Copyright 1999-2000 ARM Limited */

/*
modification history
--------------------
01e,16jul02,m_h  C++ protection
01d,20nov00,jpd  reworked endDevTbl definitions to be dynamically filled in.
01c,07feb00,jpd  updated copyright message.
01b,13jan00,pr   added DEC entry.
01a,10nov99,ajb  Copied from pid7t version 01c.
*/

#ifndef INCconfigNeth
#define INCconfigNeth

#ifdef __cplusplus
extern "C" {
#endif

#include "vxWorks.h"
#include "end.h"


#ifdef INCLUDE_END
/*
 * The number of entries here must match INTEGRATOR_MAX_END_DEVS (excluding
 * the terminator entry)
 */
extern END_OBJ *at91EmacEndLoad( char *initString, void *nothing );
#define EMAC_LOAD_FUNC    at91EmacEndLoad     /* driver external interface */
#define EMAC_BUFF_LOAN    1                 /* enable buffer loaning */


END_TBL_ENTRY endDevTbl [] =
{
    /* Entries that can be filled in dynamically when cards are found */

    { 0, at91EmacEndLoad, "0:auto", EMAC_BUFF_LOAN, NULL, FALSE},

    /* End of table marker */
    { 0, END_TBL_END, NULL, 0, NULL, FALSE}
};

#endif /* INCLUDE_END */

#ifdef __cplusplus
}
#endif

#endif /* INCconfigNeth */

⌨️ 快捷键说明

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