phy_port_alloc(9)
π phy_port_alloc(9) π
okay so bestie, you're in the Kernel API Manual and this is the page for phy_port_alloc(9). she's the one who allocates a new phy_port for you. no cap. π
πΈ NAME πΈ
phy_port_alloc β allocate a new phy_port. that's it, that's the errand. β¨
π¦ SYNOPSIS π¦
here's the exact signature, bestie β copy it character for character:
struct phy_port * phy_port_alloc (void );
π ARGUMENTS π
voidβ no arguments. literally none. the void is voiding. π«Ά
β RETURN β
she returns a newly allocated struct phy_port, or NULL. that's the whole return vibe. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/net/phy/phy_port.c β go peek if you're nosy (iykyk π). then check out the whole friend group:
phy_port_destroy(9)phy_of_parse_port(9)phy_port_update_supported(9)phy_port_filter_supported(9)phy_port_restrict_mediums(9)phy_port_get_type(9)
bye bestie π this cute little page's source/version is ./drivers/net/phy, dated October 2026, and it's giving phy_port_alloc(9) energy. 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