1GENPHY_CONFIG_ADVERT(9)     Network device support     GENPHY_CONFIG_ADVERT(9)
2
3
4

NAME

6       genphy_config_advert - sanitize and advertise auto-negotiation
7       parameters
8

SYNOPSIS

10       int genphy_config_advert(struct phy_device * phydev);
11

ARGUMENTS

13       phydev
14           target phy_device struct
15

DESCRIPTION

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 3.10         June 2019           GENPHY_CONFIG_ADVERT(9)
Impressum