phy_start_aneg_priv(9)

phy_start_aneg_priv9

Start auto-negotiation for this phy device

Usage

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

Arguments

phydev

the phy_device struct

sync

indicate whether we should wait for the workqueue cancelation

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.