yt8821_get_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… yt8821_get_features β€” like, the whole vibe ✨

okay so bestie, welcome to the kernel API manual for yt8821_get_features πŸŽ€ (yes that's a section 9 page, kernel internals, very main character of it). Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

yt8821_get_features β€” reads the mmd register to get the 2.5G capability. that's it, that's the whole job πŸ’– no cap, it just peeks at a register and tells you what the hardware can do.


🌸 SYNOPSIS 🌸

int yt8821_get_features (struct phy_device *phydev );

literally one argument, one return, iconic minimalism 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the target phy_device struct πŸ’« like, the phy you're asking about. hand it over and it does its thing.

⭐ RETURN ⭐

Returns 0 or a negative errno code. so like, zero = slay, negative = something went sideways and you get an errno to tell you why 😭

ngl, this is the whole contract β€” don't go expecting extra fancy return values, because there aren't any.

πŸ”₯ SEE ALSO πŸ”₯

the friend group 🫢 β€” and before you say anything, yes, everyone showed up:


that's a wrap, bestie 🧚 source/version lives at ./drivers/net/phy, dated October 2026 β€” go off, read the 2.5G bits, and remember: iykyk πŸ’œ

πŸ“¦ where this page comes from