⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lan91c96platform.h

📁 Intel XScale PXA255 引导Linux的Redboot 版bootloader源代码!
💻 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 + -