Scroll to navigation

GENPHY_SOFT_RESET(9) Network device support 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.

RETURNS

0 on success, < 0 on failure

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10