netdev_get_eeprom(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

bestie, this is netdev_get_eeprom(9) from the Kernel API Manual β€” yes, the manual name is folded in right here 🫢✨

🌸 NAME 🌸

netdev_get_eeprom β€” get EEPROM data πŸ’–

✨ SYNOPSIS ✨

int netdev_get_eeprom (struct net_device *dev , struct ethtool_eeprom
       *eeprom , u8 *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the network device, aka the main character here.
  • eeprom β€” the Ethtool EEPROM data structure.
  • data β€” the buffer where the EEPROM data gets stored.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so netdev_get_eeprom() dumps the EEPROM data into the buffer you provide. That's the whole vibe πŸ’…

It returns 0 if successful; otherwise you get an error code. no cap, that's the return situation 😭

πŸ’… SEE ALSO πŸ’…

Kernel file to peek at: ./drivers/net/ethernet/micrel/ksz884x.c


byeee bestie πŸ’– this page lives under ./drivers/net/ethernet/micrel, it's dated October 2026, and it's still serving netdev_get_eeprom(9) realness πŸ«Άβœ¨πŸ‘‘

πŸ“¦ where this page comes from