Scroll to navigation

GENPHY_CONFIG_EEE_AD(9) Network device support GENPHY_CONFIG_EEE_AD(9)

NAME

genphy_config_eee_advert - disable unwanted eee mode advertisement

SYNOPSIS

int genphy_config_eee_advert(struct phy_device * phydev);

ARGUMENTS

phydev

target phy_device struct

DESCRIPTION

Writes MDIO_AN_EEE_ADV after disabling unsupported energy efficent ethernet modes. Returns 0 if the PHY's advertisement hasn't changed, and 1 if it has changed.

COPYRIGHT

March 2017 Kernel Hackers Manual 4.10