Merge branch 'cleanup/netif_glue' into 'master'

netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers

Closes IDF-3736

See merge request espressif/esp-idf!15988
This commit is contained in:
Ondrej Kosta
2021-12-09 08:31:10 +00:00
5 changed files with 17 additions and 116 deletions

View File

@@ -40,4 +40,10 @@ KSZ8041/81 and LAN8720 Drivers were updated to support more devices (generations
As a result, the specific "chip number" functions calls were replaced by generic ones as follows:
* :cpp:func:`esp_eth_phy_new_ksz8041` and :cpp:func:`esp_eth_phy_new_ksz8081` were removed, use :cpp:func:`esp_eth_phy_new_ksz80xx` instead
* :cpp:func:`esp_eth_phy_new_lan8720` was removed, use :cpp:func:`esp_eth_phy_new_lan87xx` instead
* :cpp:func:`esp_eth_phy_new_lan8720` was removed, use :cpp:func:`esp_eth_phy_new_lan87xx` instead
ESP NETIF Glue Event Handlers
-----------------------------
``esp_eth_set_default_handlers()`` and ``esp_eth_clear_default_handlers()`` functions were removed. Registration of the default IP layer handlers for Ethernet is now handled automatically. If users have already followed the recommendation to fully initialize the Ethernet driver and network interface prior to registering their Ethernet/IP event handlers, then no action is required (except for deleting the affected functions). Otherwise, users should ensure that they register the user event handlers as the last thing prior to starting the Ethernet driver.