igc_read_nvm_eerd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igc_read_nvm_eerd πŸ’…

ok so bestie, we're in the Kernel API Manual today and the star of the show is igc_read_nvm_eerd(9) β€” yes that's a whole mouthful, iykyk. it's a function that Reads EEPROM using EERD register, and honestly? iconic behavior.


✨ SYNOPSIS ✨

s32 igc_read_nvm_eerd (struct igc_hw *hw , u16 offset , u16 words , u16
*data );

like, that's the whole vibe upfront. returning a s32, taking all those args, living its best life 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure. literally the hardware bestie handing you the deets πŸ’–
  • offset β€” offset of word in the EEPROM to read. where we're looking, fr fr
  • words β€” number of words to read. how many lil words we grabbing 🌸
  • data β€” word read from the EEPROM. the payload, the main character, the thing we came for ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically β€” and this is the tea β˜• β€” this reads a 16 bit word from the EEPROM using the EERD register. that's it. that's the whole flex. not me being obsessed with a single-register read but here we are πŸ’…

ngl, short and sweet, but that's exactly the point: 16 bit word, EEPROM, EERD register. memorize it, you'll get asked. πŸ‘‘

🌈 SEE ALSO 🌈

like all the sibling functions, one big happy kernel family πŸ§šπŸ’œ


aaaand that's the page!! πŸŽ€ brought to you by the fine people over at ./drivers/net/ethernet/intel/igc, dated October 2026 β€” mwah, love that for them, no cap ⭐πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from