igc_check_for_copper_link(9)
π igc_check_for_copper_link(9) π
okay so bestie, welcome to the igc_check_for_copper_link page β it's a kernel API manual situation, and honestly? kind of iconic.
β¨ NAME β¨
igc_check_for_copper_link β check for link (Copper) π©·
π¦ SYNOPSIS π¦
s32 igc_check_for_copper_link (struct igc_hw *hw );
π ARGUMENTS π
hwβ pointer to the HW structure, fr fr. that's the whole vibe.
πΈ DESCRIPTION πΈ
so the way this works is: it checks to see of the link status of the hardware has changed. yes, "of" β that's literally what the original says, i'm not fixing it, i don't make the rules π
and like, if a change in link status has been detected, then we read the PHY registers to get the current speed/duplex if link exists. that's it, that's the whole function, no cap. lowkey elegant ngl.
π₯ SEE ALSO π₯
kernel file: ./drivers/net/ethernet/intel/igc/igc_mac.c
and the whole friend group, periodt:
igc_disable_pcie_master(9)igc_init_rx_addrs(9)igc_set_fc_watermarks(9)igc_setup_link(9)igc_force_mac_fc(9)igc_clear_hw_cntrs_base(9)igc_rar_set(9)igc_config_collision_dist(9)igc_config_fc_after_link_up(9)igc_get_auto_rd_done(9)igc_get_speed_and_duplex_copper(9)igc_put_hw_semaphore(9)igc_enable_mng_pass_thru(9)igc_hash_mc_addr(9)igc_update_mc_addr_list(9)
and that's the page, bestie π«Ά this little gem lives in ./drivers/net/ethernet/intel/igc, dated October 2026 β go off, copper link checking icon πβ¨
π¦ 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