]> 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)
commitc942fa3335e941b9774d04becc6cac69440cfa1e
tree7779af46d98d8b09982a4ee4fa4e498e2d2b9421
parente6b712540e255d549bd828b577703bfe7f8f25bc
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