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>
This commit is contained in:

committed by
David S. Miller

parent
5519da874a
commit
d06f78c423
@@ -37,4 +37,9 @@ int bcm_phy_config_intr(struct phy_device *phydev);
|
||||
int bcm_phy_enable_apd(struct phy_device *phydev, bool dll_pwr_down);
|
||||
|
||||
int bcm_phy_enable_eee(struct phy_device *phydev);
|
||||
|
||||
int bcm_phy_downshift_get(struct phy_device *phydev, u8 *count);
|
||||
|
||||
int bcm_phy_downshift_set(struct phy_device *phydev, u8 count);
|
||||
|
||||
#endif /* _LINUX_BCM_PHY_LIB_H */
|
||||
|
Reference in New Issue
Block a user