open-ameba/sdk/component/common/drivers/ethernet_mii/ethernet_mii.h

13 lines
346 B
C
Raw Normal View History

2016-11-09 00:56:41 +00:00
#ifndef __MII_ETHERNETIF_H__
#define __MII_ETHERNETIF_H__
#include "lwip_netconf.h"
#define MII_TX_DESC_CNT 4
#define MII_RX_DESC_CNT 10
2017-02-28 07:40:07 +00:00
#if CONFIG_ETHERNET
2016-11-09 00:56:41 +00:00
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);
2017-02-28 07:40:07 +00:00
#endif
2016-11-09 00:56:41 +00:00
#endif // __MII_ETHERNETIF_H__