phy_port_update_supported(9)
π phy_port_update_supported(9) π
okay bestie, welcome to the Kernel API Manual entry for phy_port_update_supported β yes the header says phy_port_update_supported(9) twice, that's just how manpages do, we don't question it π
β¨ NAME β¨
phy_port_update_supported β sets up the port->supported field π«Ά
πΈ SYNOPSIS πΈ
void phy_port_update_supported (struct phy_port *port );
literally that's the whole thing. no return value, no drama, no cap π
π¦ ARGUMENTS π¦
portβ the port you're updating, bestie. that's the one. the port in question π
π DESCRIPTION π
so here's the vibe check: once the port's medium list and number of pairs have already been configured β based on firmware, straps, and vendor-specific properties β then you may call this function to update the port's supported linkmodes list. β¨
and the icon behaviour, the moment everybody needs to know: any mode that was manually set in the port's supported list remains set. π like, it stays. it's a main character, it's not getting dropped. periodt. π
ngl this is one of those "call it at exactly the right time or don't call it" situations β the medium list and pair count gotta be locked in first, iykyk π
π§ SEE ALSO π§
- Kernel file
./drivers/net/phy/phy_port.cπ phy_port_alloc(9)phy_port_destroy(9)phy_of_parse_port(9)phy_port_filter_supported(9)phy_port_restrict_mediums(9)phy_port_get_type(9)
like a little friend group of functions fr fr π
that's the whole page, bestie β no more, no less π
signing off from ./drivers/net/phy, dated October 2026 β catch you in the next phy_port_update_supported(9) footer, mwah π
π¦ 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