Scroll to navigation

PHY_START_ANEG_PRIV(9) Network device support PHY_START_ANEG_PRIV(9)

NAME

phy_start_aneg_priv - start auto-negotiation for this PHY device

SYNOPSIS

int phy_start_aneg_priv(struct phy_device * phydev, bool sync);

ARGUMENTS

struct phy_device * phydev

the phy_device struct

bool sync

indicate whether we should wait for the workqueue cancelation

DESCRIPTION

Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12