phy_caps_linkmodes(9)
okay so bestie, welcome to the phy_caps_linkmodes(9) page from the Kernel API Manual β and it's literally about converting a bitfield of capabilities into linkmodes. no cap, that's the whole vibe. π
β¨
πΈ NAME πΈ
phy_caps_linkmodes β convert a bitfield of capabilities into linkmodes. periodt. π
π¦ SYNOPSIS π¦
the signature is giving exactly this, bestie β no edits, no remix:
void phy_caps_linkmodes (unsigned long caps , unsigned long *linkmodes
);
π ARGUMENTS π
capsβ the list of caps, bestie; each bit corresponds to aLINK_CAPAvalue. π«linkmodesβ the set of linkmodes to fill. Must be previously initialized. don't come in uninitialized, that is not the vibe. π«Ά
π SEE ALSO π
Kernel file: ./drivers/net/phy/phy_caps.c β yes, that exact path, slay. π
also go peek at these, iykyk:
phy_caps_init(9)phy_caps_speeds(9)phy_caps_lookup_by_linkmode(9)phy_caps_lookup_by_linkmode_rev(9)phy_caps_lookup(9)phy_caps_linkmode_max_speed(9)phy_caps_valid(9)phy_caps_from_interface(9)phy_caps_medium_get_supported(9)phy_caps_mediums_from_linkmodes(9)
π«Ά that's the whole page, bestie. source/version: ./drivers/net/phy; date: October 2026; manual name: phy_caps_linkmodes(9). 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