igc_check_reset_block(9)
π igc_check_reset_block π
okay so real talk, this is a kernel API manual page for igc_check_reset_block β that's the function name, and it lives in section 9 of the manual, bestie. buckle up, it's actually a short one π
β¨ NAME β¨
igc_check_reset_block β checks if the PHY reset is blocked, no cap π
πΈ SYNOPSIS πΈ
s32 igc_check_reset_block (struct igc_hw *hw );
literally that's the whole signature. she's cute, she's concise, she returns an s32 π«Ά
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π that's it. that's the only argument. she takes one (1) struct pointer and she's thriving.
ngl if you're passing something that isn't a pointer to the HW structure, that's on you bestie, the manual is not responsible π
π₯ DESCRIPTION π₯
okay so what does she actually do? she reads the PHY management control register and checks whether a PHY reset is blocked. that's the whole vibe check π
then she reports back:
- if a reset is not blocked β she returns
0(the good ending β¨) - otherwise β she returns
IGC_ERR_BLK_PHY_RESET(12) (the "bestie the reset is blocked" ending π)
that's it. no hidden lore. no extra parameters. she's an icon, she's a one-trick pony, and honestly? the trick ate π₯
π SEE ALSO π
the kernel file this lives in, for the curious girlies:
./drivers/net/ethernet/intel/igc/igc_phy.c
and the whole friend group (the PHY squad, iykyk) π
igc_get_phy_id(9)igc_phy_has_link(9)igc_power_up_phy_copper(9)igc_power_down_phy_copper(9)igc_check_downshift(9)igc_phy_hw_reset(9)igc_phy_setup_autoneg(9)igc_wait_autoneg(9)igc_copper_link_autoneg(9)igc_setup_copper_link(9)igc_read_phy_reg_mdic(9)igc_write_phy_reg_mdic(9)__igc_access_xmdio_reg(9)igc_read_xmdio_reg(9)igc_write_xmdio_reg(9)igc_write_phy_reg_gpy(9)igc_read_phy_reg_gpy(9)igc_read_phy_fw_version(9)igc_force_speed_duplex(9)
mwah π that's the page! this lil baddie ships out of ./drivers/net/ethernet/intel/igc, dated October 2026, and the page itself is igc_check_reset_block(9) β go forth and check those reset blocks, bestie, you got this ππ
π¦ 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