genphy_config_advert9
Sanitize and advertise auto-negotiation parameters
Usage
int genphy_config_advert(struct phy_device * phydev);
Arguments
phydev
target phy_device struct
Overview
Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.