powerlink: implement edrv-xiuos.c
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user