e1000e_read_nvm_eerd(9)
π e1000e_read_nvm_eerd(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a little function from the e1000e driver fam and honestly she's kind of a legend. sit down, grab a strawberry π, let's get into it.
πΈ NAME πΈ
e1000e_read_nvm_eerd β reads EEPROM using the EERD register π
like, that's literally her whole job. she reads the EEPROM. with the EERD register. iconic behavior, no notes.
β¨ SYNOPSIS β¨
s32 e1000e_read_nvm_eerd (struct e1000_hw *hw , u16 offset , u16 words ,
u16 *data );
look at that signature, she's giving main character energy π«Ά. returns an s32, takes a struct e1000_hw *, a u16 offset, a u16 words, and a u16 *data. perfect. flawless. exactly as expected.
π ARGUMENTS π
hwβ pointer to the HW structure π» β this is the hardware bestie herself, the whole vibe.offsetβ offset of word in the EEPROM to read π β where in the EEPROM we're looking. yes bestie, we're going in with a map.wordsβ number of words to read π’ β how many of them we want. greedy? maybe. valid? absolutely.dataβ word read from the EEPROM π₯ β this is where the good stuff lands. the payload. the moment.
π¦ DESCRIPTION π¦
so the way that this works is β she reads a 16 bit word from the EEPROM using the EERD register β¨. that's it. that's the whole thing. no cap, she's a simple girl with a simple purpose and she absolutely ate.
sixteen bits. read. from EEPROM. via EERD. periodt π
π SEE ALSO π
the whole friend group, fr fr β go say hi to:
- Kernel file
./drivers/net/ethernet/intel/e1000e/nvm.cπ e1000_raise_eec_clk(9)e1000_lower_eec_clk(9)e1000_shift_out_eec_bits(9)e1000_shift_in_eec_bits(9)e1000e_poll_eerd_eewr_done(9)e1000e_acquire_nvm(9)e1000_standby_nvm(9)e1000_stop_nvm(9)e1000e_release_nvm(9)e1000_ready_nvm_eeprom(9)e1000e_write_nvm_spi(9)e1000_read_pba_string_generic(9)e1000_read_mac_addr_generic(9)e1000e_validate_nvm_checksum_generic(9)e1000e_update_nvm_checksum_generic(9)e1000e_reload_nvm_generic(9)
like genuinely a whole squad, iykyk π
ngl bestie, this page is short and sweet β but that just means there's nothing to misremember. 16 bits, EERD register, done. slay. πβ¨
and that's the tea π« β page pulled from ./drivers/net/ethernet/intel/e..., dated October 2026, and yes the title at the bottom is still e1000e_read_nvm_eerd(9) because she's consistent like that π π§ bye bestie, go read some EEPROM! π
π¦ 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