phy_ethtool_sset9
Generic ethtool sset function, handles all the details
Usage
int phy_ethtool_sset(struct phy_device * phydev, struct ethtool_cmd * cmd);
Arguments
phydev
target phy_device struct
cmd
ethtool_cmd
Overview
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.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.