add promiscuous mode control in emac driver

1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
This commit is contained in:
suda-morris
2019-05-08 17:15:21 +08:00
parent 417cac6654
commit 15070ea648
8 changed files with 36 additions and 2 deletions
+1
View File
@@ -131,6 +131,7 @@ typedef struct {
eth_phy_get_partner_pause_enable_func phy_get_partner_pause_enable; /*!< get partner pause enable */
eth_phy_power_enable_func phy_power_enable; /*!< enable or disable phy power */
uint32_t reset_timeout_ms; /*!< timeout value for reset emac */
bool promiscuous_enable; /*!< set true to enable promiscuous mode */
} eth_config_t;
/** Ethernet event declarations */