ytphy_setup_master_slave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ytphy_setup_master_slave β€” bestie, the description line is literally empty in the source, so we're not gonna make one up. It's giving "mystery icon" and we respect that. ✨

(This page lives in the Kernel API Manual, just so you know where you are 🫢)


🌸 SYNOPSIS 🌸

int ytphy_setup_master_slave (struct phy_device *phydev );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the target phy_device struct. That's the one, that's the main character πŸ‘‘

⚠️ NOTE ⚠️

Bestie, listen to me very carefully: the caller must have taken the MDIO bus lock. No cap. Do not skip this. Take the lock first, then call. πŸ”’

It returns 0 or a negative errno code. That's the whole vibe check: zero means slay, negative means something went sideways 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/net/phy/motorcomm.c β€” and honestly, the whole extended family:

Like, that's the entire friend group and every single one of them ate πŸ’…πŸ”₯


Okay that's the whole page, mwah πŸ’– This came from the source tree at ./drivers/net/phy and it's dated October 2026 β€” so like, future-core of it all 🌈⭐ Go forth and take that MDIO bus lock, bestie 🫢

πŸ“¦ where this page comes from