genphy_c45_restart_aneg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… genphy_c45_restart_aneg β€” a Kernel API Manual moment

okay so bestie, welcome to the genphy_c45_restart_aneg(9) page, straight out of the Kernel API Manual ✨ this one's short and sweet but it's literally the glow-up button for auto-negotiation, so let's get into it πŸŽ€


🌸 SYNOPSIS 🌸

int genphy_c45_restart_aneg (struct phy_device *phydev );

like, it returns an int, it takes one pointer, that's the whole vibe 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” your target phy_device struct, aka the main character of this whole function πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

Heads up bestie: this function assumes that the auto-negotiation MMD is present β€” like, it's not checking, it's just trusting you. no cap.

and then? it enables and restarts auto-negotiation. that's it. that's the function. short king behavior fr fr πŸ’…βœ¨


πŸ”₯ SEE ALSO πŸ”₯

the whole squad, in the order the manpage lists them (not me reorganizing, i would never πŸ™ˆ):

Kernel file ./drivers/net/phy/phy-c45.c

like, that's a whole friend group and they all showed up πŸŒˆπŸ’œ


✨ that's the whole page, bestie ✨ it lives in ./drivers/net/phy, dated October 2026, and it's giving "small function, big energy" energy πŸ’€πŸ«Ά go restart some auto-negotiation, ily, bye πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from