---
name: "phy_start_aneg_priv"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/phy_start_aneg_priv"
---

# phy\_start\_aneg\_priv(9)

start auto-negotiation for this PHY device

## 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

*phydev*

the phy\_device struct

*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
