igc_check_reset_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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) πŸ’œ


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