Add KSZ8081 support. (#5061)

This adds support for the KSZ8081 ethernet phy.
Only the IDF 4+ specific code is modified, as the phy support was only
added recently:
espressif/esp-idf@aecfbf96
This commit is contained in:
rtrbt
2021-04-15 11:43:29 +02:00
committed by GitHub
parent 72eb3f32fe
commit e6ba8c7ac9
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@
#endif
#endif
typedef enum { ETH_PHY_LAN8720, ETH_PHY_TLK110, ETH_PHY_RTL8201, ETH_PHY_DP83848, ETH_PHY_DM9051, ETH_PHY_MAX } eth_phy_type_t;
typedef enum { ETH_PHY_LAN8720, ETH_PHY_TLK110, ETH_PHY_RTL8201, ETH_PHY_DP83848, ETH_PHY_DM9051, ETH_PHY_KSZ8081, ETH_PHY_MAX } eth_phy_type_t;
class ETHClass {
private: