mac_au1000_api.h

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

H
58
字号
#ifndef MAC_AU1000_API_H
#define MAC_AU1000_API_H

/************************************************************************
 *
 *      MAC_AU1000_api.h
 *
 *      The 'MAC_AU1000_api' module defines the specific public
 *      interface for the AU1000 MAC device driver. 
 *************************************************************************/


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

#include "sysdefs.h"


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

/************************************************************************
 *
 *                          MAC_AU1000_install
 *  Description :
 *  -------------
 *
 *  Installs the LAN AM79C973 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 MAC_AU1000_install( void );


#endif /* #ifndef MAC_AU1000_API_H */

⌨️ 快捷键说明

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