igc_read_nvm_eerd(9)
π 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 frwordsβ 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 π
- Kernel file
./drivers/net/ethernet/intel/igc/igc_nvm.cβ go read the source, bestie, it's giving required reading π igc_poll_eerd_eewr_done(9)igc_read_mac_addr(9)igc_validate_nvm_checksum(9)igc_update_nvm_checksum(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms