phy_get_mac_termination(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the Kernel API Manual page for phy_get_mac_termination(9) β€” yeah that's a mouthful, i know 😭 β€” and it's literally just here to tell you that this function stores MAC termination in @val. that's it. that's the whole vibe. short king behavior fr πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int phy_get_mac_termination (struct phy_device *phydev , struct device
*dev , u32 *val );

like. look at her. she's an int, she takes three args, she's doing her little thing ✨


🌸 ARGUMENTS 🌸

  • phydev β€” the phy_device struct. the main character of this whole situation, honestly πŸ‘‘
  • dev β€” a pointer to the devices device struct. yes, the devices device struct, that's really what it's called, i don't make the rules 🫢
  • val β€” the MAC termination. this is where the tea gets stored πŸ“

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” we love a zero, we stan a zero, no notes πŸ’–
  • < 0 on failure β€” and if it's negative, something went wrong, bestie, sorry to report 😭

πŸ‘‘ SEE ALSO πŸ‘‘

this is the part where i show you the whole extended friend group πŸ’€ literally everyone gets an invite. the kernel file where this lives is ./drivers/net/phy/phy_device.c, and here's the full squad, in exactly the order the manpage handed them to me:


okay that's the page!! πŸŽ€ this little cutie lives over in ./drivers/net/phy, and the manual is dated October 2026 β€” so like, future girlie energy 🌈 anyway mwah, go read the rest of the kernel docs, i'm obsessed with you, bye bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from