esp32/network_lan: Add support for LAN8710 PHY.

LAN8710 uses the same drivers as LAN8720, so this commit just adds the
names.  Alternatively, both could be summarised under LAN87xx, like the
esp-idf does.
This commit is contained in:
robert-hh
2022-12-24 09:37:02 +01:00
committed by Damien George
parent fc745d85fe
commit efb4bd3555
3 changed files with 5 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
#include "esp_event.h"
enum { PHY_LAN8720, PHY_IP101, PHY_RTL8201, PHY_DP83848, PHY_KSZ8041 };
enum { PHY_LAN8710, PHY_LAN8720, PHY_IP101, PHY_RTL8201, PHY_DP83848, PHY_KSZ8041 };
enum { ETH_INITIALIZED, ETH_STARTED, ETH_STOPPED, ETH_CONNECTED, ETH_DISCONNECTED, ETH_GOT_IP };
// Cases similar to ESP8266 user_interface.h