---
name: "phy_error"
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_error"
---

# phy\_error(9)

enter HALTED state for this PHY device

## NAME

phy\_error - enter HALTED state for this PHY device

## SYNOPSIS

**void phy\_error(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Moves the PHY to the HALTED state in response to a read or write error, and tells the controller the link is down. Must not be called from interrupt context, or while the phydev-\>lock is held.

## COPYRIGHT
