table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
GENPHY_CONFIG_ADVERT(9) | Network device support | GENPHY_CONFIG_ADVERT(9) |
NAME¶
genphy_config_advert - sanitize and advertise auto-negotiation parametersSYNOPSIS¶
int
genphy_config_advert(struct phy_device * phydev);
ARGUMENTS¶
phydevtarget phy_device struct
DESCRIPTION¶
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |