phy_port_get_type(9)
π
phy_port_get_type(9) β Kernel API Manual realness β¨
okay bestie, this page is short, sweet, and lowkey iconic β it's giving "one job, one getter" and honestly? Obsessed. No cap. π
πΈ NAME πΈ
phy_port_get_type β get the PORT_* attribute for that port. That's the assignment, bestie. The way this function just... exists to fetch that attribute? Literally main character energy. Periodt. π
β¨ SYNOPSIS β¨
int phy_port_get_type (struct phy_port *port );
π ARGUMENTS π
portβ the port we want the information from. She's the one you're asking for the tea, so keep her close π«Άβ¨
π RETURN π
A PORT_XXX value. Yep β that's the return vibe. You get a PORT_XXX value back, and that's the whole plot. Ngl, slay. π
π¦ 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_update_supported(9)phy_port_filter_supported(9)phy_port_restrict_mediums(9)
mwah π β footer source/version tea: this one lives under ./drivers/net/phy, dated October 2026, and it's phy_port_get_type(9) from the Kernel API Manual. Slay, bye bestie πβ¨
π¦ 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