igb_shift_out_eec_bits(9)
π igb_shift_out_eec_bits(9) π
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is igb_shift_out_eec_bits β the little function that pushes bits out to your EEPROM one at a time. yes, one. at. a. time. it's giving patient queen energy π
β¨ SYNOPSIS β¨
void igb_shift_out_eec_bits (struct e1000_hw *hw , u16 data , u16 count
);
like, that's the whole signature. no cap, that's it π«Ά
π ARGUMENTS π
hwβ pointer to the HW structure. your hardware's whole personality lives in here πdataβ the data to send to the EEPROM π¨countβ number of bits to shift out. yes, you gotta tell it how many π’
πΈ DESCRIPTION πΈ
so here's the vibe: we need to shift count bits out to the EEPROM. so the value sitting in the data parameter gets shifted out to the EEPROM one bit at a time β literally one, then the next, then the next π¦
and to make that happen? data has to be broken down into bits first. that's the whole job. that's the assignment. she ate π
ngl the original NAME line says "Shift data bits our to the EEPROM" β yeah it's a typo in the manpage itself, we're keeping it, it's iconic π
π₯ SEE ALSO π₯
kernel file ./drivers/net/ethernet/intel/igb/e1000_nvm.c β that's where the source lives, go look, iykyk π
and the whole friend group:
igb_raise_eec_clk(9)igb_lower_eec_clk(9)igb_shift_in_eec_bits(9)igb_poll_eerd_eewr_done(9)igb_acquire_nvm(9)igb_standby_nvm(9)e1000_stop_nvm(9)igb_release_nvm(9)igb_ready_nvm_eeprom(9)igb_read_nvm_spi(9)igb_read_nvm_eerd(9)igb_write_nvm_spi(9)igb_read_part_string(9)igb_read_mac_addr(9)igb_validate_nvm_checksum(9)igb_update_nvm_checksum(9)igb_get_fw_version(9)
βΏ and that's the page βΏ this lil gem ships out of ./drivers/net/ethernet/intel/igb, dated October 2026 β mwah, go shift some bits, bestie ππβ
π¦ 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