fman_unregister_intr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 says void, and this section says 0 on 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:


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