genphy_c45_an_disable_aneg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… genphy_c45_an_disable_aneg β€” from the Kernel API Manual, bestie

okay so real talk, this one lives in the Kernel API Manual and it's genuinely so straightforward you'll be done before your iced coffee melts 🧊


✨ NAME ✨

genphy_c45_an_disable_aneg β€” the function that turns off auto-negotiation. that's it. that's the whole gig. she's a one-job icon πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int genphy_c45_an_disable_aneg (struct phy_device *phydev );

yep, that's the whole signature. int going in (well, coming out), struct pointer going in. gorgeous. no notes πŸ’…


🌸 ARGUMENTS 🌸

  • phydev β€” your target struct phy_device. like, the PHY device you're about to boss around. this is the one she's disabling auto-negotiation on 🎯

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie β˜• β€” this function disables auto-negotiation in the Clause 45 PHY. the link parameters? they don't get to do their own little negotiation dance anymore, they're controlled through the PMA/PMD MMD registers. very much "we're doing this my way now" energy πŸ™ˆ

and the return values, quick vibe check:

  • returns zero on success πŸŽ‰
  • returns a negative errno code on failure 😭

that's it! that's the whole description. zero drama, all facts, and honestly? we love a function that knows exactly what it is ✨


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is long and she is thriving for it β€” look at all her friends, a whole friend group of Clause 45 girlies 🫢

ngl the cable-test and SQI girlies at the bottom ate β€” they showed up at the end of the list and still served πŸ’€

they all hang out in the kernel file ./drivers/net/phy/phy-c45.c if you wanna go say hi iykyk πŸ’œ


and that's the whole page, bestie!! πŸŽ€ this one's filed under ./drivers/net/phy, dated October 2026, and it's page genphy_c45_an_disable_aneg(9) of the Kernel API Manual β€” go forth and disable some auto-negotiation, you've got this fr fr 🌈✨πŸ”₯

πŸ“¦ where this page comes from