lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables
The patch is to configure DSP registers of PHY device
to handle Gbe-EEE failures with >40m cable length.
Fixes: 55d7de9de6
("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver")
Signed-off-by: Raghuram Chary J <raghuramchary.jallipalli@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9a43816182
commit
1c2734b31d
@@ -70,4 +70,12 @@
|
||||
#define LAN88XX_MMD3_CHIP_ID (32877)
|
||||
#define LAN88XX_MMD3_CHIP_REV (32878)
|
||||
|
||||
/* DSP registers */
|
||||
#define PHY_ARDENNES_MMD_DEV_3_PHY_CFG (0x806A)
|
||||
#define PHY_ARDENNES_MMD_DEV_3_PHY_CFG_ZD_DLY_EN_ (0x2000)
|
||||
#define LAN88XX_EXT_PAGE_ACCESS_TR (0x52B5)
|
||||
#define LAN88XX_EXT_PAGE_TR_CR 16
|
||||
#define LAN88XX_EXT_PAGE_TR_LOW_DATA 17
|
||||
#define LAN88XX_EXT_PAGE_TR_HIGH_DATA 18
|
||||
|
||||
#endif /* _MICROCHIPPHY_H */
|
||||
|
Reference in New Issue
Block a user