phy_sfp_attach(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual page for phy_sfp_attach πŸ’– β€” it's literally β€œattach the SFP bus to the PHY upstream network device.” No cap, that's the whole name vibe.

✨ SYNOPSIS ✨

void phy_sfp_attach (void *upstream , struct sfp_bus *bus );

🫢 ARGUMENTS 🫢

  • upstream β€” pointer to the phy device πŸ‘€
  • bus β€” sfp bus representing cage being attached πŸ’…

πŸ’– DESCRIPTION πŸ’–

This is used to fill in the sfp_upstream_ops .attach member. That's it, that's the assignment β€” it's the fill-in for that .attach member, periodt ✨.

πŸ”— SEE ALSO πŸ”—

Kernel file ./drivers/net/phy/phy_device.c β€” plus the whole iconic crew:


mwah πŸ’‹ source/version: ./drivers/net/phy β€’ date: October 2026 β€’ page: phy_sfp_attach(9)

πŸ“¦ where this page comes from