1GENPHY_CONFIG_ADVERT(9) Network device support GENPHY_CONFIG_ADVERT(9)
2
3
4
6 genphy_config_advert - sanitize and advertise auto-negotation
7 parameters
8
10 int genphy_config_advert(struct phy_device * phydev);
11
13 phydev
14 target phy_device struct
15
17 Writes MII_ADVERTISE with the appropriate values, after sanitizing the
18 values to make sure we only advertise what is supported. Returns < 0 on
19 error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has
20 changed.
21
23Kernel Hackers Manual 2.6. November 2011 GENPHY_CONFIG_ADVERT(9)