mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net: phy: Add phy_ethtool_nway_reset
This function just calls into genphy_restart_aneg() to perform an autonegotation restart. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8ebd115bb2
commit
e86a8987e4
2 changed files with 12 additions and 0 deletions
|
@ -860,6 +860,7 @@ int phy_ethtool_get_link_ksettings(struct net_device *ndev,
|
|||
struct ethtool_link_ksettings *cmd);
|
||||
int phy_ethtool_set_link_ksettings(struct net_device *ndev,
|
||||
const struct ethtool_link_ksettings *cmd);
|
||||
int phy_ethtool_nway_reset(struct net_device *ndev);
|
||||
|
||||
int __init mdio_bus_init(void);
|
||||
void mdio_bus_exit(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue