bnx2x_clp_reset_done(9)
β¨ NAME β¨
bnx2x_clp_reset_done β restore the value of the magic bit. π«
okay so real talk, this is a page straight out of the Kernel API Manual, and bestie, the whole entire job of this function is putting the magic bit back the way it was. that's it. that's the gig. π
πΈ SYNOPSIS πΈ
void bnx2x_clp_reset_done (struct bnx2x *bp , u32 magic_val );
no return value, she just does her thing and dips. π
π¦ ARGUMENTS π¦
bpβ the driver handle. like the little passport for the driver, y'know? πmagic_valβ the old value of themagicbit. key word being old β you're handing back the original, not making up a new one. πͺ
π SEE ALSO π
- the kernel file itself:
./drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.cβ go read the source, it's giving main character energy fr fr π bnx2x_get_leader_lock_resource(9)bnx2x_trylock_leader_lock(9)bnx2x_get_common_flags(9)bnx2x_is_contextless_ramrod(9)bnx2x_sp_post(9)bnx2x_clear_pf_load(9)bnx2x_chk_parity_attn(9)bnx2x_init_hw_common(9)bnx2x_init_hw_common_chip(9)bnx2x_set_int_mode(9)bnx2x_pf_q_prep_init(9)bnx2x_setup_queue(9)bnx2x_send_unload_req(9)bnx2x_send_unload_done(9)bnx2x_reset_mcp_prep(9)bnx2x_mcp_wait_one(9)bnx2x_er_poll_igu_vq(9)bnx2x_set_uc_list(9)bnx2x_get_num_non_def_sbs(9)bnx2x_io_error_detected(9)bnx2x_io_slot_reset(9)bnx2x_io_resume(9)bnx2x_set_iscsi_eth_mac_addr(9)
like, that's the whole friend group right there π«Ά go say hi to all of them.
ngl there's not a ton to warn you about here β no scary caveats on this page, just a tiny little restore-the-magic-bit moment. slay. π
this lil page came from ./drivers/net/ethernet/broadco... and it's dated October 2026 β iconic, timeless, periodt. πβ¨
π¦ 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