open-ameba/RTL00_SDKV35a/component/common/drivers/ethernet_mii/ethernet_mii.h
2016-11-09 03:56:41 +03:00

12 lines
321 B
C

#ifndef __MII_ETHERNETIF_H__
#define __MII_ETHERNETIF_H__
#include "lwip_netconf.h"
#define MII_TX_DESC_CNT 4
#define MII_RX_DESC_CNT 10
extern s8 rltk_mii_send(struct eth_drv_sg *sg_list, int sg_len, int total_len);
extern void rltk_mii_recv(struct eth_drv_sg *sg_list, int sg_len);
#endif // __MII_ETHERNETIF_H__