igb_write_nvm_spi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igb_write_nvm_spi β€” write to EEPROM using SPI ✨

okay so bestie, welcome to the igb_write_nvm_spi(9) page β€” that's section 9 of the Kernel API Manual, aka the deep-lore corner of the docs where the kernel devs hang out 🧚


✨ SYNOPSIS ✨

s32 igb_write_nvm_spi (struct e1000_hw *hw , u16 offset , u16 words ,
       u16 *data );

like… look at her. she returns an s32 and takes four args. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure πŸ’– that's your hardware context, the whole vibe she's working with
  • offset β€” where inside the EEPROM we're writing to, like your little bookmark in the EEPROM 🌸
  • words β€” how many words you're about to write, count 'em
  • data β€” the 16 bit word(s) actually getting written to the EEPROM, the payload, the moment, the icon πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

So what does she do? She writes data to the EEPROM at offset, using the SPI interface. Simple, iconic, no notes ✨

⚠️ but bestie listen β€” if e1000_update_nvm_checksum is not called after this function, the EEPROM will most likely contain an invalid checksum 😭 like literally please don't forget, that's the whole plot twist of this manpage. not me warning you twice πŸ’€

🌈 SEE ALSO 🌈

First up, the kernel file where the magic lives:

  • Kernel file ./drivers/net/ethernet/intel/igb/e1000_nvm.c

and then the whole friend group, the entire group chat, the squad 🫢:

(yes igb_update_nvm_checksum(9) is right there in the list β€” see? told you. consistency queen πŸ‘‘)


and that's the page!! source + version lives over in ./drivers/net/ethernet/intel/igb, dated October 2026, so if you're reading this from the future… hi, ily, go update your checksum πŸ’œ

πŸ“¦ where this page comes from