PIC32MZ Ethernet: Add support for LAN8740A PHY

This commit is contained in:
Gregory Nutt 2015-03-29 07:05:30 -06:00
parent b1dcacebe7
commit 312ae5713e
2 changed files with 8 additions and 0 deletions

View File

@ -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"

View File

@ -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 */