phy_modes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to phy_modes(9) from the Kernel API Manual! This is the page for phy_modes β€” the cutie that maps the phy_interface_t enum to the device tree binding of phy-mode. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

const char * phy_modes (phy_interface_t interface );

πŸŽ€ ARGUMENTS πŸŽ€

  • interface β€” an enum phy_interface_t value. that's the arg, bestie, no cap. πŸ’…

🌸 DESCRIPTION 🌸

okay so here's the tea: phy_modes maps the phy_interface_t enum defined in this file into the device tree binding of 'phy-mode', so that an Ethernet device driver can get the PHY interface from device tree. literally making enum-to-device-tree communication happen. ✨

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group is here, and yes every single one is invited:

mwah πŸ’‹ β€” this page's footer vibe is ./include/linux, October 2026, and phy_modes(9). periodt. 🫢

πŸ“¦ where this page comes from