?? lan91c96platform.h
字號:
/********************************************************************************** COPYRIGHT (C) 2000, 2001 Intel Corporation.**** This software as well as the software described in it is furnished under ** license and may only be used or copied in accordance with the terms of the ** license. The information in this file is furnished for informational use ** only, is subject to change without notice, and should not be construed as ** a commitment by Intel Corporation. Intel Corporation assumes no ** responsibility or liability for any errors or inaccuracies that may appear ** in this document or any software that may be provided in association with ** this document. ** Except as permitted by such license, no part of this document may be ** reproduced, stored in a retrieval system, or transmitted in any form or by ** any means without the express written consent of Intel Corporation. **** FILENAME: lan91c96Init.h**** PURPOSE: This header files contains all the platform specific** definitions needed for the LAN91C96 Ethernet Controller.**** LAST MODIFIED: $Modtime: 3/26/02 12:39a $******************************************************************************/#ifndef _lan91c96Platform_h#define _lan91c96Platform_h/********************************************************************************* HEADER FILES********************************************************************************//********************************************************************************* Functional Prototypes.********************************************************************************/VOID LAN91C96SWInit(VOID);UINT32 LAN91C96SWInitX(LAN91C96_ContextT *ctxP, PVOID ioRegsP, PVOID attRegsP);/********************************************************************************* LAN91C96 Driver APIs.********************************************************************************/UINT LAN91C96HWSetup(LAN91C96_ContextT *ctxP, BOOL resetFlag);VOID LAN91C96HWShutdown(LAN91C96_ContextT *ctxP);INT LAN91C96SetMACAddress(LAN91C96_ContextT *ctxP, PUCHAR MACP, UINT flag);VOID LAN91C96DumpRegisters(LAN91C96_ContextT *ctxP);VOID LAN91C96DumpFrame(LAN91C96_ContextT *ctxP, INT PDUFlag, PUCHAR frame, UINT16 length);INT LAN91C96ReceivePacket(LAN91C96_ContextT *ctxP, PUINT16 bufferP, INT length, PINT rxCountP);INT LAN91C96ReceiveStatus(LAN91C96_ContextT *ctxP);INT LAN91C96TransmitPacket(LAN91C96_ContextT *ctxP, PUINT16 buffer, INT length);VOID LAN91C96GetInfo(LAN91C96_ContextT *ctxP, DM_NetworkInfo_T *info);INT LAN91C96LoopBack(LAN91C96_ContextT *ctxP, INT flag);void LAN91C96WriteMacAddrToEeprom(unsigned char *MacAddr);extern INT AllocateTxPacket(LAN91C96_ContextT *ctxP, INT length, PUINT16 handle) ;extern INT DeallocateTxPacket(LAN91C96_ContextT *ctxP) ;#endif /* _lan91c96Platform_h */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -