diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-29 07:05:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-29 07:05:30 -0600 |
commit | 012ddec9f9fcd80c010c1d1414badec425de5523 (patch) | |
tree | 82a9aacb54046896109e5da38e02cdc10cc3bf54 /nuttx | |
parent | 81217c4982e40cc27594465dfbd91cd23e6a0040 (diff) | |
download | px4-nuttx-012ddec9f9fcd80c010c1d1414badec425de5523.tar.gz px4-nuttx-012ddec9f9fcd80c010c1d1414badec425de5523.tar.bz2 px4-nuttx-012ddec9f9fcd80c010c1d1414badec425de5523.zip |
PIC32MZ Ethernet: Add support for LAN8740A PHY
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 */ |