diff options
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/drivers/net/Kconfig | 3 | ||||
-rw-r--r-- | nuttx/include/nuttx/net/mii.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/drivers/net/Kconfig b/nuttx/drivers/net/Kconfig index 3745c47f8..914b17522 100644 --- a/nuttx/drivers/net/Kconfig +++ b/nuttx/drivers/net/Kconfig @@ -314,6 +314,9 @@ config ETH0_PHY_LAN8720 config ETH0_PHY_LAN8740 bool "SMSC LAN8740 PHY" +config ETH0_PHY_LAN8740A + bool "SMSC LAN8740A PHY" + config ETH0_PHY_DM9161 bool "Davicom DM9161 PHY" diff --git a/nuttx/include/nuttx/net/mii.h b/nuttx/include/nuttx/net/mii.h index 993f74c83..0eccb66fd 100644 --- a/nuttx/include/nuttx/net/mii.h +++ b/nuttx/include/nuttx/net/mii.h @@ -349,6 +349,11 @@ #define MII_PHYID1_LAN8740 0x0007 /* ID1 value for LAN8740 */ #define MII_PHYID2_LAN8740 0xc110 /* ID2 value for LAN8740 */ +/* SMSC LAN8740A MII ID1/2 register bits */ + +#define MII_PHYID1_LAN8740A 0x0007 /* ID1 value for LAN8740A */ +#define MII_PHYID2_LAN8740A 0xc111 /* ID2 value for LAN8740A */ + /* Am79c874-specific register bit settings **********************************/ /* Am79c874 MII ID1/2 register bits */ |