]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: marvell: Add functions to read PHY's extended registers
authorLukasz Majewski <lukma@denx.de>
Mon, 30 Oct 2017 21:57:53 +0000 (22:57 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:16 +0000 (12:05 -0600)
commitdbe7701442d61f3442708722938c3b3d2a62ece7
treee133a948e4a6b32b74fc2cab6b0a7e86e8650a85
parent9710cd15ca6f5f3768a30006da9ee37b93b7cb74
net: phy: marvell: Add functions to read PHY's extended registers

This commit allows extended Marvell registers to be read with:

foo > mdio rx FEC 3.10
Reading from bus FEC
PHY at address 0:
3.16 - 0x1063
foo > mdio wx FEC 3.10 0x1011

The above code changes the way ETH connector LEDs blink.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/marvell.c