igb_check_reset_block(9)
π igb_check_reset_block β kernel API manual moment β¨
okay so real quick, this is a page from the Kernel API Manual (yes, the (9) section bestie, the kernel-internals one, we're in the big leagues) and it's about one tiny little function that asks the PHY a very important question. buckle up π
β¨ NAME β¨
igb_check_reset_block β literally just checks if the PHY reset is blocked. that's it. that's the whole job. no cap π
π¦ SYNOPSIS π¦
s32 igb_check_reset_block (struct e1000_hw *hw );
it takes one arg and gives you back an s32. simple, clean, iconic.
π ARGUMENTS π
hwβ pointer to theHWstructure (astruct e1000_hw *, to be exact). it's giving "here's the hardware, go look at it" energy. hand it over and the function will do its little investigation π
πΈ DESCRIPTION πΈ
okay so here's the tea. this function reads the PHY management control register and checks whether a PHY reset is blocked.
then it reports back:
- if a reset is not blocked β it returns
0(we love a clean success, slay π) - otherwise β it returns
E1000_BLK_PHY_RESET(12), i.e. yeah babe, the reset is blocked, no touchy π«
that's the entire vibe. read a register, tell you the truth, move on. main character energy fr fr β¨
π SEE ALSO π
so if you wanna go down the whole PHY rabbit hole (and honestly? obsessed), the source lives in the kernel file ./drivers/net/ethernet/intel/igb/e1000_phy.c β go read it, it's right there π«Ά
and here's the full friend group, everyone's invited:
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_check_polarity_82580(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 squad. no one left out ππ
and that's the page bestie!! π this one came from ./drivers/net/ethernet/intel/igb, dated October 2026, and it's igb_check_reset_block(9) signing off β stay blocked or stay unblocked, but either way stay iconic πβπ§
π¦ 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