genphy_soft_reset(9)

genphy_soft_reset9

Software reset the phy via bmcr_reset bit

Usage

int genphy_soft_reset(struct phy_device * phydev);

Arguments

phydev

target phy_device struct

Overview

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.