genphy_soft_reset(9) 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.

RETURNS

0 on success, < 0 on failure

COPYRIGHT