---
name: "phy_stop_machine"
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_stop_machine"
---

# phy\_stop\_machine(9)

stop the PHY state machine tracking

## NAME

phy\_stop\_machine - stop the PHY state machine tracking

## SYNOPSIS

**void phy\_stop\_machine(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Stops the state machine timer, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy\_detach.

## COPYRIGHT
