genphy_c37_config_aneg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– genphy_c37_config_aneg(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” today's main character is genphy_c37_config_aneg, and honestly? she's a tiny function with a very specific job. let's get into it πŸŽ€


✨ NAME ✨

genphy_c37_config_aneg β€” restart auto-negotiation, or write the BMCR. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

int genphy_c37_config_aneg (struct phy_device *phydev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the target phy_device struct. she's your girl, your little PHY device bestie, the one you're configuring 🫢

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea, and it's genuinely simple:

  • if auto-negotiation is enabled, we configure the advertising first, and then we restart auto-negotiation. like, set up what she's gonna advertise, then hit the restart button ✨
  • if auto-negotiation is not enabled, then we write the BMCR instead. different lane, same destination πŸ’«
heads up: this function is intended for use with Clause 37 1000Base-X mode. she's purpose-built, not a generalist. respect her niche πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, no cap β€” literally every single one of these icons is down there, and yes bestie you're getting all of them πŸ“

and one more lil detail β€” these all live in the kernel file ./drivers/net/phy/phy_device.c, so that's your source of truth, iykyk 🌈


okay that's the whole page bestie, you ate that πŸ’…βœ¨

this masterpiece came from ./drivers/net/phy, dated October 2026, and if you need to cite her (you will), she goes by genphy_c37_config_aneg(9) β€” iconic, unforgettable, periodt πŸ‘‘πŸ¦‹πŸ’–

πŸ“¦ where this page comes from