e1000_get_ca..._80003es2lan(9)
π e1000_get_cable_length_80003es2lan β from the Kernel API Manual π
okay so bestie, gather round, because we're about to get into the deep NIC lore. this one lives in the Kernel API Manual, and it's genuinely such a specific little guy. let's go β¨
β¨ NAME β¨
e1000_get_cable_length_80003es2lan β set approximate cable length π§΅π
like yes, the name literally says "get" but the description says "set"... it's giving main character with two jobs, and honestly? we respect it. π
π¦ SYNOPSIS π¦
s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw);
that return type is s32, no cap. π«Ά
πΈ ARGUMENTS πΈ
hwβ pointer to the HW structure π literally just a pointer to the hardware struct, that's it, that's the whole vibe check.
π DESCRIPTION π
okay so here's the tea β: this function finds the approximate cable length β and yeah, emphasis on approximate, because we're not doing precision measurements here, we're doing vibes-based cable metrology π β as measured by the GG82563 PHY.
it's a function pointer entry point called by the phy module. so like, the phy module is the one sliding into the DMs here, and this function is the one picking up. iykyk β¨
bestie please note: the result is approximate. it's not a ruler. don't @ me. π
π₯ SEE ALSO π₯
the whole 80003es2lan extended universe, fr fr β every single one, no skipping, i don't make the rules:
- kernel file
./drivers/net/ethernet/intel/e1000e/80003es2lan.c e1000_init_phy_params_80003es2lan(9)e1000_init_nvm_params_80003es2lan(9)e1000_init_mac_params_80003es2lan(9)e1000_acquire_phy_80003es2lan(9)e1000_release_phy_80003es2lan(9)e1000_acquire_mac_csr_80003es2lan(9)e1000_release_mac_csr_80003es2lan(9)e1000_acquire_nvm_80003es2lan(9)e1000_release_nvm_80003es2lan(9)e1000_acquire_swfw_sync_80003es2lan(9)e1000_release_swfw_sync_80003es2lan(9)e1000_read_phy_reg_gg82563_80003es2lan(9)e1000_write_phy_reg_gg82563_80003es2lan(9)e1000_write_nvm_80003es2lan(9)e1000_get_cfg_done_80003es2lan(9)e1000_phy_force_speed_duplex_80003es2lan(9)e1000_get_link_up_info_80003es2lan(9)e1000_reset_hw_80003es2lan(9)e1000_init_hw_80003es2lan(9)e1000_initialize_hw_bits_80003es2lan(9)e1000_copper_link_setup_gg82563_80003es2lan(9)e1000_setup_copper_link_80003es2lan(9)e1000_cfg_on_link_up_80003es2lan(9)e1000_cfg_kmrn_10_100_80003es2lan(9)e1000_cfg_kmrn_1000_80003es2lan(9)e1000_read_kmrn_reg_80003es2lan(9)e1000_write_kmrn_reg_80003es2lan(9)e1000_read_mac_addr_80003es2lan(9)e1000_power_down_phy_copper_80003es2lan(9)e1000_clear_hw_cntrs_80003es2lan(9)
like... it's a whole friend group and this function is absolutely in the group chat ππ
mwah π that's the page! this hottie of a manpage came from ./drivers/net/ethernet/intel/e... and it's dated October 2026 β so yeah, future vibes, we love that for us βπ¦ slay, bye! ππ
π¦ 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