ctucan_err_interrupt(9)
π ctucan_err_interrupt β Error frame ISR π
okay so this is a page from the Kernel API Manual, and bestie, it's a tiny one but it's lowkey important. sit down, grab a strawberry π, let's get into it.
β¨ NAME β¨
ctucan_err_interrupt β the Error frame ISR, aka the lil function that handles CAN error interrupts. it's giving "I'm the one who reports the drama" π
π¦ SYNOPSIS π¦
void ctucan_err_interrupt (struct net_device *ndev , u32 isr );
that's it. that's the whole signature. no cap. β¨
π ARGUMENTS π
ndevβ anet_devicepointer. yep, the classic. it's the network device we're working with πisrβ the interrupt status register value, fr fr. this is the raw juicy intel we gotta decode π
πΈ DESCRIPTION πΈ
so this is the CAN error interrupt handler, periodt. what it does is: it checks the type of error, and then it forwards the error frame up to the upper layers π«Ά
that's the whole vibe check. error comes in β figure out what kind it is β pass it along. iconic behavior honestly π§
ngl it's a short one but it's doing real work. don't sleep on it π
π SEE ALSO π
the kernel file itself lives at ./drivers/net/can/ctucanfd/ctucanfd_base.c β go say hi to it π
and here's the whole friend group, all of these are (9) man pages so they're all kernel-internal besties:
ctucan_state_to_str(9)ctucan_reset(9)ctucan_set_btr(9)ctucan_set_bittiming(9)ctucan_set_data_bittiming(9)ctucan_set_secondary_sample_point(9)ctucan_set_mode(9)ctucan_chip_start(9)ctucan_do_set_mode(9)ctucan_get_tx_status(9)ctucan_is_txt_buf_writable(9)ctucan_insert_frame(9)ctucan_give_txtb_cmd(9)ctucan_start_xmit(9)ctucan_read_rx_frame(9)ctucan_rx(9)ctucan_read_fault_state(9)ctucan_get_rec_tec(9)ctucan_rx_poll(9)ctucan_rotate_txb_prio(9)ctucan_tx_interrupt(9)ctucan_interrupt(9)ctucan_chip_stop(9)ctucan_open(9)ctucan_close(9)ctucan_get_berr_counter(9)
like, the whole squad. go read them all, iykyk ππ
okay that's the page!! mwah π
this little cutie comes from ./drivers/net/can/ctucanfd and the version/date on the tin is October 2026 β so yeah, from the future bestie, slay π¦βπ
π¦ 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