]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: read copper results from CSSR1
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 27 Feb 2020 09:46:36 +0000 (09:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 19:21:33 +0000 (11:21 -0800)
commita1be3e7fd98fcdde46ecdfb7800ea839d3936f00
tree7779af46d98d8b09982a4ee4fa4e498e2d2b9421
parent16c6a81e67d918841a3df48a7bbe3e8ffc84c188
net: phy: marvell10g: read copper results from CSSR1

Read the copper autonegotiation results from the copper specific
status register, rather than decoding the advertisements. Reading
what the link is actually doing will allow us to support downshift
modes.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c