asix_soft_reset(9)
π NAME π
hey bestie π welcome to the asix_soft_reset(9) page β this one is all about doing a software reset of the PHY via the BMCR_RESET bit. iconic little reset behavior, ngl.
β¨ SYNOPSIS β¨
int asix_soft_reset (struct phy_device *phydev );
π ARGUMENTS π
phydevβ the targetphy_devicestruct. that's the one you're handing over, bestie π«Ά
πΈ DESCRIPTION πΈ
okay so this function performs a software PHY reset using the standard BMCR_RESET bit, and then it polls for the reset bit to be cleared. very "do the thing, then wait for the thing to finish" energy β¨
it also toggles the BMCR_RESET bit off to accommodate the broken AX8796B PHY implementation β like the one used on the Individual Computers' X-Surf 100 Zorro card. not me fixing around a whole broken PHY vibe, but here we are π
π¦ RETURN π¦
0 on success, < 0 on failure. slay when it's 0, π when it's negative.
π SEE ALSO π
- Kernel file
./drivers/net/phy/ax88796b.c
mwah π this page comes from ./drivers/net/phy, dated October 2026, and it's literally the asix_soft_reset(9) manual β bye bestie, go reset that PHY π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms