__igb_access_xmdio_reg(9)
π NAME π
okay so this is __igb_access_xmdio_reg from the Kernel API Manual β it does exactly one thing and it does it slayfully: read or write an XMDIO register β¨
β¨ SYNOPSIS β¨
s32 __igb_access_xmdio_reg (struct e1000_hw *hw , u16 address , u8
dev_addr , u16 *data , bool read );
π ARGUMENTS π
hwβ pointer to the HW structure π like, this is your main character, the whole hardware context, everything hangs off of itaddressβ the XMDIO address you're programming π―dev_addrβ the device address you're programming, lowkey the "who am I even talking to" of the whole situationdataβ pointer to the value that gets read from / written to that XMDIO address π«Ά note the spicy detail: it's a pointer, not a plain value, so it travels both waysreadβ a boolean flag telling the function whether this is a read or a write πΈ that's literally it, that's the whole vibe check: true means read, false means write
π¦ SEE ALSO π¦
The Kernel file lives right here, bestie β ./drivers/net/ethernet/intel/igb/e1000_i210.c π
and the whole i210 friend group, no cap:
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_write_nvm_srwr_i210(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_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)
ngl bestie, if you're calling this directly you're already deep in the i210 trenches β go read the wrapper siblingsigb_read_xmdio_reg(9)andigb_write_xmdio_reg(9)first, iykyk π
and that's the whole page, periodt π
this one's brought to you straight out of ./drivers/net/ethernet/intel/igb, dated October 2026, filed under __igb_access_xmdio_reg(9) β go read it again, it's giving reference material π₯π¦
π¦ 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