]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Add support code for downshift/Wirespeed
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 22 Nov 2016 19:40:55 +0000 (11:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 20:45:53 +0000 (15:45 -0500)
commit30b10bf6af6a732e957af9588993764aff482885
tree9301f4e9cd2bee1e719d2acfce8a679e05b7e521
parentf2d542a7064d43114f809588e4a099dd73487356
net: phy: broadcom: Add support code for downshift/Wirespeed

Broadcom's Wirespeed feature allows us to configure how auto-negotiation
should behave with fewer working pairs of wires on a cable. Add support
code for retrieving and setting such downshift counters using the
recently added ethtool downshift tunables.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm-phy-lib.c
drivers/net/phy/bcm-phy-lib.h
include/linux/brcmphy.h