table of contents
other versions
PHY_ETHTOOL_SSET(9) | Network device support | PHY_ETHTOOL_SSET(9) |
NAME¶
phy_ethtool_sset - generic ethtool sset function, handles all the details
SYNOPSIS¶
int phy_ethtool_sset(struct phy_device * phydev, struct ethtool_cmd * cmd);
ARGUMENTS¶
struct phy_device * phydev
target phy_device struct
struct ethtool_cmd * cmd
ethtool_cmd
DESCRIPTION¶
A few notes about parameter checking: - We don't set port or transceiver, so we don't care what they were set to. - phy_start_aneg will make sure forced settings are sane, and choose the next best ones from the ones selected, so we don't care if ethtool tries to give us bad values.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |