yt8521_read_status_paged(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– yt8521_read_status_paged(9) πŸ’–

okay so bestie, this little icon is from the Kernel API Manual, and she is literally here to determine the speed and duplex of one page ✨. No cap, one page. Main character energy fr fr πŸ’….

🌸 NAME 🌸

yt8521_read_status_paged β€” determines the speed and duplex of one page πŸŽ€

✨ SYNOPSIS ✨

int yt8521_read_status_paged (struct phy_device *phydev , int page );

🫢 ARGUMENTS 🫢

  • phydev β€” a pointer to a struct phy_device πŸ’–
  • page β€” The reg page (YT8521_RSSR_FIBER_SPACE/YT8521_RSSR_UTP_SPACE) to operate. Like, choose the page you're operating on, bestie πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

the way this function returns stuff is literally: returns 1 (utp or fiber link),0 (no link) or negative errno code 😭. That's the whole vibe check, iykyk.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/phy/motorcomm.c β€” the whole squad is right here:


kisses bestie πŸ’‹ source/version: ./drivers/net/phy, manual: Kernel API Manual, date: October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from