powerlink: implement edrv-xiuos.c

This commit is contained in:
Jiacheng Shi
2022-06-14 13:40:54 +08:00
parent 4e4d6ce223
commit 320998dee5
3 changed files with 37 additions and 109 deletions
@@ -312,6 +312,7 @@ void ethernetif_enet_init(struct netif *netif, struct ethernetif *ethernetif,
ENET_GetDefaultConfig(&config);
config.ringNum = ENET_RING_NUM;
config.macSpecialConfig |= kENET_ControlPromiscuousEnable;
ethernetif_phy_init(ethernetif, ethernetifConfig, &config);
@@ -45,7 +45,7 @@
#include <lwip/arch.h>
#include <lwip/netif.h>
#include "tcpip.h"
// #include "tcpip.h"
#include <xs_base.h>