genphy_c45_read_eee_lpa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– genphy_c45_read_eee_lpa πŸ’–

okay so bestie, welcome to the genphy_c45_read_eee_lpa(9) page β€” yeah that's a whole mouthful, it's from the Kernel API Manual and it's genuinely so much less scary than it looks, i promise 🫢


✨ NAME ✨

genphy_c45_read_eee_lpa β€” reads the advertised LP EEE link modes πŸ’…

like, that's the whole vibe. it goes and fetches what the link partner is out here advertising in the EEE department. no cap.


🌸 SYNOPSIS 🌸

int genphy_c45_read_eee_lpa (struct phy_device *phydev , unsigned long
*lpa );

see? two little args and an int coming back at you. iconic behavior honestly ⭐


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” the target phy_device struct πŸŽ€ this is the phy you're snooping on, your main character.
  • lpa β€” the linkmode LP advertisement status πŸ’« this is where the answer lands, so like… don't forget to actually use it bestie πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the full squad, no one left behind, fr fr β€” all of these live in the kernel file ./drivers/net/phy/phy-c45.c:


ngl that's a long list and i'm obsessed with it πŸ’€ go read them, they're all in the same file and they all slay in their own way.

aaaand that's the page !! mwah πŸ’œ signed off from ./drivers/net/phy, dated October 2026, and yes this whole thing is the genphy_c45_read_eee_lpa(9) manual page you were looking for the entire time πŸŽ€βœ¨

πŸ“¦ where this page comes from