]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: add support for half duplex 100M and 10M
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Dec 2017 12:46:43 +0000 (12:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 20:00:50 +0000 (15:00 -0500)
commitb4b4a817384ba7dedbbb5d5020ca680220cd412f
tree87d806a67ec3ecf3b84d9af0c70ca69b33265745
parent90f3b167345fa5099acb7c8f99222285e84f96ba
net: phy: marvell10g: add support for half duplex 100M and 10M

Add support for half-duplex 100M and 10M copper connections by parsing
the advertisment results rather than trying to decode the negotiated
speed from one of the PHYs "vendor" registers.  This allows us to
decode the duplex as well, which means we can support half-duplex mode
for the slower speeds.

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