genphy_soft_reset (9) - Linux Man Pages

genphy_soft_reset: 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