GENPHY_SOFT_RESET(9)

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