ice_read_port_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to ice_read_port_eth56g(9) from the Kernel API Manual πŸ’…βœ¨ this is the page for reading a PHY port register, and she's serving main-character kernel energy fr fr.

🌸 NAME 🌸

ice_read_port_eth56g β€” Read a PHY port register. That's the whole assignment: grab a PHY port register, no cap. πŸ’–

✨ SYNOPSIS ✨

int ice_read_port_eth56g (struct ice_hw *hw , u8 port , u32 offset , u32
*val , enum eth56g_res_type res_type );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. The hardware bestie.
  • port β€” Port number.
  • offset β€” PHY register offset.
  • val β€” Value to write. (yes bestie, that's literally the label in the original, we are not editing the sacred text 😭)
  • res_type β€” resource type (register/memory).

πŸ’– RETURN πŸ’–

  • 0 β€” success. slay. βœ…
  • EINVAL β€” invalid port number or resource type. the vibe check failed.
  • other β€” failed to read from PHY. not the move, but at least you know.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so the SEE ALSO section is literally a whole group chat. every single reference is here, preserved exactly, because we do not drop lore:


final sign-off bestie: this page lives at source path ./drivers/net/ethernet/intel/ice, dated October 2026 🌈🫢. now go read that PHY port register, periodt.

πŸ“¦ where this page comes from