igb_check_polarity_82580(9)
π igb_check_polarity_82580(9) β the kernel API manual, but make it make sense
okay bestie, welcome to section 9 of the kernel API manual, where we're talking about igb_check_polarity_82580 β yes the whole entire name, no we're not abbreviating it, she earned it π
β¨ NAME β¨
igb_check_polarity_82580 β literally just checks the polarity. that's the whole vibe check. that's the job. π
π¦ SYNOPSIS π¦
s32 igb_check_polarity_82580 (struct e1000_hw *hw );
that's it. one argument. she's low maintenance like that β¨
πΈ ARGUMENTS πΈ
hwβ pointer to the HW structure. the hardware situation, if you will. hand her the struct and she'll do her thing π«Ά
π DESCRIPTION π
okay so here's the tea β β this function returns:
- Success β returns
0π slay - Failure β returns
-E1000_ERR_PHY(-2) π not slay
and how does she figure out the polarity, you ask? Polarity is determined based on the PHY specific status register. that's the source of truth, bestie. the PHY said what she said and we respect it π
π₯ SEE ALSO π₯
the friend group π β every one of these is linked in the kernel file ./drivers/net/ethernet/intel/igb/e1000_phy.c, no cap:
igb_check_reset_block(9)igb_get_phy_id(9)igb_phy_reset_dsp(9)igb_read_phy_reg_mdic(9)igb_write_phy_reg_mdic(9)igb_read_phy_reg_i2c(9)igb_write_phy_reg_i2c(9)igb_read_sfp_data_byte(9)igb_read_phy_reg_igp(9)igb_write_phy_reg_igp(9)igb_copper_link_setup_82580(9)igb_copper_link_setup_m88(9)igb_copper_link_setup_m88_gen2(9)igb_copper_link_setup_igp(9)igb_copper_link_autoneg(9)igb_phy_setup_autoneg(9)igb_setup_copper_link(9)igb_phy_force_speed_duplex_igp(9)igb_phy_force_speed_duplex_m88(9)igb_phy_force_speed_duplex_setup(9)igb_set_d3_lplu_state(9)igb_check_downshift(9)igb_check_polarity_m88(9)igb_check_polarity_igp(9)igb_wait_autoneg(9)igb_phy_has_link(9)igb_get_cable_length_m88(9)igb_get_cable_length_igp_2(9)igb_get_phy_info_m88(9)igb_get_phy_info_igp(9)igb_phy_sw_reset(9)igb_phy_hw_reset(9)igb_phy_init_script_igp3(9)igb_initialize_M88E1512_phy(9)igb_initialize_M88E1543_phy(9)igb_power_up_phy_copper(9)igb_power_down_phy_copper(9)igb_phy_force_speed_duplex_82580(9)igb_get_phy_info_82580(9)igb_get_cable_length_82580(9)igb_set_master_slave_mode(9)
like, the whole friend group showed up to the group chat. iconic behavior honestly π
and that's the page, bestie!! π§ this little manual lives in ./drivers/net/ethernet/intel/igb and it's dated October 2026, so yeah β futuristic queen energy πβ¨ mwah, go check some polarity π
π¦ 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