STRUCT PHY_LOOKUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct phy_lookup(9) 🌸

okay bestie, buckle up β€” this is straight out of the Kernel API Manual, section 9, and it's honestly such a vibe. Let's get into it πŸ’…


✨ NAME ✨

struct phy_lookup β€” the PHY association in the list of phys managed by the phy driver 🫢

like, it's literally the little matchmaking record that says "this device + this connection = this phy" and honestly? iconic.


πŸŽ€ SYNOPSIS πŸŽ€

struct phy_lookup {
    struct list_head node;
    const char *dev_id;
    const char *con_id;
    struct phy *phy;
 };

yes that's the whole thing, it's giving minimalist main character energy ✨


πŸ¦‹ Members πŸ¦‹

  • node β€” the list node, aka its little spot in the linked list so it knows who its neighbors are πŸ’«
  • dev_id β€” the device of the association, like the device's whole identity, no cap πŸͺͺ
  • con_id β€” the connection ID string on that device, so like which specific hookup on the device we're talking about πŸ”Œ
  • phy β€” the phy of the association, the actual PHY object itself, the moment we've all been waiting for πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/phy/phy.h β€” go read it, iykyk πŸ“–
  • union phy_configure_opts(9)
  • struct phy_ops(9)
  • struct phy_attrs(9)
  • struct phy(9)
  • struct phy_provider(9)

the whole phy friend group honestly, they all show up together 🫢✨


πŸ’€ real talk tho: every one of those SEE ALSO entries is a separate manual page, so if you're going down the phy rabbit hole, that's the reading list. no skipping fr fr.

mwah πŸ’– that's the whole page! sourced from ./include/linux/phy, dated October 2026 β€” this lil entry ate and left no crumbs, periodt πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from