lan_lan91c111_api.h

来自「MIPS下的boottloader yamon 的源代码」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef LAN_LAN91C111_API_H
#define LAN_LAN91C111_API_H

/************************************************************************
 *
 *      LAN_LAN91C111_api.h
 *
 *      The 'LAN_LAN91C111_api' module defines the specific public
 *      interface for the AU1xxx LAN device driver. 
 *************************************************************************/


/************************************************************************
 *    Include files
 ************************************************************************/

#include "sysdefs.h"


/************************************************************************
 *   Public functions
 ************************************************************************/

/************************************************************************
 *
 *                          LAN_LAN91C111_install
 *  Description :
 *  -------------
 *
 *  Installs the LAN LAN91C111 device drivers services in 
 *  the IO system at the reserved device slot, found in the
 *  'sysdev.h' file, which defines all major device numbers.
 *
 *  Note:
 *  This service is the only public declared interface function; all
 *  provided device driver services are static declared, but this
 *  function installs the function pointers in the io-system to
 *  enable the provided public driver services.
 *
 *  Parameters :
 *  ------------
 *
 *  -
 *
 *
 *  Return values :
 *  ---------------
 *
 *  'OK'(=0)
 *  'ERROR_IO_ILLEGAL_MAJOR':  Illegal major device number
 *  'ERROR_IO_NO_SPACE':       Device slot already allocated
 *
 ************************************************************************/
INT32 LAN_LAN91C111_install( void ) ;


#endif /* #ifndef LAN_LAN91C111_API_H */

⌨️ 快捷键说明

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