]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: add MDI swap reporting
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Dec 2017 12:46:27 +0000 (12:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 20:00:49 +0000 (15:00 -0500)
commit80300add121e0258e29318034244eb0f478b2d00
treebc643aee953a577f4350a928a7ddc404d8bd765d
parent681d8a66435b375f8524995e9c180b62111f3848
net: phy: marvell10g: add MDI swap reporting

Add reporting of the MDI swap to the Marvell 10G PHY driver by providing
a generic implementation for the standard 10GBASE-T pair swap register
and polarity register.  We also support reading the MDI swap status for
1G and below from a PCS register.

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