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.

Returns

0 on success, < 0 on failure