bnx2x_state_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ bnx2x_state_wait(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– you're literally looking at bnx2x_state_wait(9) β€” a little kernel function that just... waits. patiently. like a bestie holding your iced coffee while you find your keys πŸŽ€


πŸ’… NAME

bnx2x_state_wait β€” wait until the given bit(state) is cleared πŸ‘‘

like, it sits there and vibes until that bit is gone. no cap.


πŸ¦‹ SYNOPSIS

int bnx2x_state_wait (struct bnx2x *bp , int state , unsigned long
*pstate );

it returns an int, takes three args, and honestly the line wrapping in the original is giving "sent from my phone at 3am" but we keep it exact fr fr πŸ’€


🌸 ARGUMENTS

  • bp β€” the device handle 🫢 like, which device are we even doing this for
  • state β€” the state which is to be cleared ✨ this is the bit we're waiting to see disappear
  • pstate β€” the state buffer πŸŽ€ the memory holding said state

⭐ SEE ALSO

okay this is the part where the manpage just dumps the entire friend group 😭 every last one of them, no gatekeeping, periodt:

Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c β€” that's where the source lives, iykyk πŸ“

like... that's the whole squad. every single one. I counted, I listed, we're so back πŸ’œ


lowkey reminder bestie: the file path in the original reference was cut off as ./drivers/net/ethernet/broadco... β€” that's the truncated form, and the full-ish one above is the one given in the SEE ALSO. both are just the bnx2x_sp.c source file, no cap 🧚

🌈 the cute sign-off

this page came from ./drivers/net/ethernet/broadco... (yes, truncated, we stay mysterious πŸ’…), dated October 2026, and it's page bnx2x_state_wait(9) of the Kernel API Manual. slay, go wait on that bit, mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from