asix_soft_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 target phy_device struct. 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