---
name: "phy_aneg_done"
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_aneg_done"
---

# phy\_aneg\_done(9)

return auto-negotiation status

## NAME

phy\_aneg\_done - return auto-negotiation status

## SYNOPSIS

**int phy\_aneg\_done(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Return the auto-negotiation status from this *phydev* Returns \> 0 on success or \< 0 on error. 0 means that auto-negotiation is still pending.

## COPYRIGHT
