fman_unregister_intr(9)
π fman_unregister_intr(9) β Kernel API Manual π
okay so bestie, we're in the Kernel API Manual today and this one is literally about fman_unregister_intr β yes that's the whole function name, she's long, she's iconic, she ate. β¨
πΈ NAME πΈ
fman_unregister_intr β
and that's it. that's the description. blank. empty. the void. she said "my name is enough" and honestly? main character energy. π«Ά
π¦ SYNOPSIS π¦
void fman_unregister_intr (struct fman *fman , enum fman_event_modules
module , u8 mod_id , enum fman_intr_type intr_type );
look at her. returns void, takes four things, no notes. periodt. π
β¨ ARGUMENTS β¨
fmanβ a pointer to the FMan device. like, the actual device. pls don't hand her a random pointer, bestie πmoduleβ the calling module. which module is calling? it's you. you're the module. πͺmod_idβ the module id β and if there's more than 1 of them, use it; if not,'0'. that's the rule, no cap.intr_typeβ interrupt type (error/normal) selection. so you gotta pick a lane: error, or normal. choose wisely π
π DESCRIPTION π
so what does she do? she's used to unregister an event handler to be processed by FMan. that's the whole vibe β handler goes in, handler comes out, FMan stops processing it. lowkey satisfying ngl. π
β RETURN β
0 on success; error code otherwise. π
okay tiny heads-up bestie: the synopsis up there saysvoid, and this section says0on success. both of those are literally what the page says, so i'm just holding the receipts β iykyk π
π SEE ALSO π
kernel file ./drivers/net/ethernet/freescale/fman/fman.c β go read the source, it's giving homework but make it slay π
and the whole friend group, fr fr:
fman_register_intr(9)fman_set_port_params(9)fman_reset_mac(9)fman_set_mac_max_frame(9)fman_get_clock_freq(9)fman_get_bmi_max_fifo_size(9)fman_get_revision(9)fman_get_qman_channel_id(9)fman_get_mem_region(9)fman_get_max_frm(9)fman_get_rx_extra_headroom(9)fman_bind(9)
mwah π that's the page β sourced from ./drivers/net/ethernet/freesca... (yeah she got cut off mid-word, she's mysterious like that π§) and dated October 2026, which is somehow both the future and also so last season. bye bestie, go unregister something responsibly π
π¦ 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