mxl86110_broadcast_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mxl86110_broadcast_cfg β€” configure the MDIO broadcast setting for PHY

okay so bestie, this one is from the Kernel API Manual, section 9 of the man pages. it's a tiny little function but it's lowkey important, so let's get into it 🫢


✨ SYNOPSIS ✨

int mxl86110_broadcast_cfg (struct phy_device *phydev );

like, that's the whole vibe. one argument, one return value, no drama πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” a pointer to the PHY device structure. that's it, that's the whole argument list, she's simple and she knows it ✨

🌸 DESCRIPTION 🌸

so this function configures the MDIO broadcast behavior of the MxL86110 PHY. literally its whole job 🎯

and right now? broadcast mode is explicitly disabled β€” not by accident, not by vibe, but by actively clearing the EPA0 bit in the RGMII_MDIO_CFG extended register. the way that it just goes in there and clears that bit, iconic behavior honestly πŸ”₯

tl;dr: it pokes EPA0 in RGMII_MDIO_CFG, broadcast mode says no thank you πŸ’€


πŸ’€ NOTE πŸ’€

⚠️ okay this part MATTERS, do not skip it: this function assumes the caller already holds the MDIO bus lock, or otherwise has exclusive access to the PHY. it does NOT take the lock for you. no cap, if you just call it raw with no lock you're on your own bestie 😭🫢

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative errno code on failure πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file for this one lives at ./drivers/net/phy/mxl-86110.c β€” go say hi πŸ‘‹

and here's the whole friend group, all section 9:


and that's the page!! brought to you from ./drivers/net/phy, dated October 2026, section 9 of the manual, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from