STRUCT PHY_LOOKUP(9)
πΈ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms