?? secend.h
字號:
/* secEnd.h - SAMSUNG S3C2510 Ethernet network interface header */
/* Copyright 2002 SAMSUNG ELECTRONICS */
/*
modification history
--------------------
01b,10July02,jwchoi
01a,08feb02,jmLee created.
*/
#ifndef __INCsecEndh
#define __INCsecEndh
#ifdef __cplusplus
extern "C" {
#endif
/* END Specific Definitions */
#define SEC_END_DEV_NAME ETH_DEV_NAME
#define SEC_END_DEV_NAME_LEN ETH_DEV_NAME_LEN
#define SEC_END_DEV_DESCRIPTION ETH_DEV_DESCRIPTION
#define SEC_END_ADDR_LEN 6
#define END_HADDR(pEndObj) ((pEndObj)->mib2Tbl.ifPhysAddress.phyAddress)
#define SEC_END_NUM_CL_TYPE 1 /* number of clusters types */
#define CL_OVERHEAD (sizeof(int)) /* cluster overhead */
#define CL_ALIGNMENT 4 /* cluster required alignment */
#define MBLK_ALIGNMENT 4 /* mBlks required alignment */
/* Function Prototypes */
IMPORT END_OBJ* secEndLoad(char *initString);
/* Helper Macros */
typedef ETH_DRV_CTRL DRV_CTRL;
#define DRV_CLUSTER_MEM_BASE FB_BASE_ETH
#define DRV_CLUSTER_MEM_SIZE FB_SIZE_ETH
#define DRV_SIZE_CLUSTER SIZE_ETH_MDMA
#define DRV_SIZE_CLUSTER_HDR SIZE_ETH_FB_HDR
#define DRV_NUM_MBLK NUM_BD_ETH
#define DRV_NUM_CLUSTER (NUM_BD_ETH + NUM_RBD_ETH)
#define DRV_INIT s3c2510EthInit
#define DRV_ADDR_SET s3c2510EthAddrSet
#define DRV_FLAGS_SET s3c2510EthFlagsSet
#define DRV_LOOP_SET s3c2510EthLoopSet
#define DRV_MCAST_ADD s3c2510EthMCastAdd
#define DRV_MCAST_DEL s3c2510EthMCastDel
#define DRV_START s3c2510EthStart
#define DRV_STOP s3c2510EthStop
#define DRV_POLL_START s3c2510EthPollStart
#define DRV_POLL_STOP s3c2510EthPollStop
#define DRV_RBD_GET s3c2510EthRbdGet
#define DRV_RBD_FREE s3c2510EthRbdFree
#define DRV_RBD_CHECK s3c2510EthRbdCheck
#define DRV_TBD_GET s3c2510EthTbdGet
#define DRV_TBD_FREE s3c2510EthTbdFree
#define DRV_TBD_START s3c2510EthTbdStart
#define DRV_TBD_CHECK s3c2510EthTbdCheck
#define DRV_POLL_RECEIVE s3c2510EthPollReceive
#define DRV_POLL_SEND s3c2510EthPollSend
#define DRV_SEND s3c2510EthSend
#ifdef __cplusplus
}
#endif
#endif /* __INCsecEndh */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -