igb_write_nvm_srwr_i210(9)
π igb_write_nvm_srwr_i210(9) π
okay bestie, welcome to the Kernel API Manual page for igb_write_nvm_srwr_i210(9) β yes, we're doing kernel-function glow-up energy, and this one is all about writing to Shadow RAM. π«Ά
β¨ NAME β¨
igb_write_nvm_srwr_i210 β Write to Shadow RAM using EEWR.
π¦ SYNOPSIS π¦
s32 igb_write_nvm_srwr_i210 (struct e1000_hw *hw , u16 offset , u16 words , u16 *data );
π ARGUMENTS π
hwβ pointer to the HW structure. like, the hardware bestie we're handing over.offsetβ offset within the Shadow RAM to be written to. know exactly where we're dropping the data.wordsβ number of words to write. count 'em.dataβ 16 bit word(s) to be written to the Shadow RAM. the actual payload, slay.
π DESCRIPTION π
okay so this function writes data to Shadow RAM at offset using the EEWR register. that's the core move. π
π¨ important warning, bestie: ife1000_update_nvm_checksumis not called after this function, the data will not be committed toFLASHand also Shadow RAM will most likely contain an invalid checksum. not cute. do the checksum call.
π and if an error code is returned, data and Shadow RAM may be inconsistent β buffer partially written. so like, the vibes are off and the buffer is only partway there.
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/igb/e1000_i210.c igb_get_hw_semaphore_i210(9)igb_acquire_nvm_i210(9)igb_release_nvm_i210(9)igb_acquire_swfw_sync_i210(9)igb_release_swfw_sync_i210(9)igb_read_nvm_srrd_i210(9)igb_write_nvm_srwr(9)igb_read_invm_word_i210(9)igb_read_invm_i210(9)igb_read_invm_version(9)igb_validate_nvm_checksum_i210(9)igb_update_nvm_checksum_i210(9)igb_pool_flash_update_done_i210(9)igb_get_flash_presence_i210(9)igb_update_flash_i210(9)igb_valid_led_default_i210(9)__igb_access_xmdio_reg(9)igb_read_xmdio_reg(9)igb_write_xmdio_reg(9)igb_init_nvm_params_i210(9)igb_pll_workaround_i210(9)igb_get_cfg_done_i210(9)
mwah π β source/version: ./drivers/net/ethernet/intel/igb; date: October 2026. that's the footer, bestie, and we ate. π
π¦ 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