ixgbe_mii_bus_write_c45(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_mii_bus_write_c45 β€” from the Kernel API Manual (yes bestie, the actual kernel docs) πŸŽ€

Ok so picture this: you're deep in the ixgbe driver, you've got a clause 45 register staring at you, and you just need to write to it. That's literally this function's whole personality. It writes a clause 45 register. Periodt. ✨


πŸ¦‹ NAME πŸ¦‹

ixgbe_mii_bus_write_c45 β€” write a clause 45 register. No cap, that's the vibe. πŸ’–


✨ SYNOPSIS ✨

int ixgbe_mii_bus_write_c45 (struct mii_bus *bus , int addr , int devad
, int regnum , u16 val );

🌸 ARGUMENTS 🌸

  • bus β€” a pointer to the mii_bus structure, and that structure is the one pointing at our driver private. iykyk, it's the little handshake that gets you to the right place. 🫢
  • addr β€” the address. that's it, that's the whole thing. πŸŽ€
  • devad β€” the device address to read. (yes, the manpage says read β€” we're just relaying the lore, don't come for me 😭)
  • regnum β€” the register number. πŸ’…
  • val β€” the value you're writing in there. slay. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

The source of truth lives in the kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c β€” go say hi to it sometime. 🌈

And because the kernel doc crew loves a group chat, here's the entire bestie roster, every single one, in order:


fr fr, that's a lot of i2c friends. the kernel's phy code is one big group chat and everybody's typing at once πŸ’€

okay that's the whole page, bestie β€” go forth and write that clause 45 register 🌟

And for the cute sign-off: this lil' entry comes from the source ./drivers/net/ethernet/intel/i... (the manpage truncated it, not me πŸ™ˆ), dated October 2026 of the Kernel API Manual. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from