---
name: "genphy_soft_reset"
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/genphy_soft_reset"
---

# genphy\_soft\_reset(9)

software reset the PHY via BMCR\_RESET bit

## NAME

genphy\_soft\_reset - software reset the PHY via BMCR\_RESET bit

## SYNOPSIS

**int genphy\_soft\_reset(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Perform a software PHY reset using the standard BMCR\_RESET bit and poll for the reset bit to be cleared.

## RETURN

0 on success, \< 0 on failure

## COPYRIGHT
