ns87415_irq_clear(9)
π ns87415_irq_clear β like, the Kernel API Manual page, bestie
okay so we're in the Kernel API Manual today and the star of the show is ns87415_irq_clear. yes it's a real one. yes it's about interrupts. no i will not be normal about it π«Ά
β¨ NAME β¨
ns87415_irq_clear β Clear interrupt. that's it. that's the whole vibe. clearing an interrupt, iconic behaviour, no notes π
πΈ SYNOPSIS πΈ
void ns87415_irq_clear (struct ata_port *ap );
literally one function, one argument, zero drama (wellβ¦ mostly zero drama, wait for the DESCRIPTION section bestie π)
π ARGUMENTS π
apβ the channel you're clearing. that's the one. that's the whole parameter. go off π
π¦ DESCRIPTION π¦
okay so here's the tea and it's giving erratum energy π
Due to a chip bug, registers 02 and 0A bit 1 and 2 (the error bits) are reset by writing to register 00 or 08.
likeβ¦ the hardware just does that. not me, not you, not the driver β the chip. bit 1 and bit 2 of regs 02 and 0A, those are the error bits, and they get reset when you write to reg 00 or 08. so if you're out here writing to 00 or 08 and wondering why your error bits ghosted you, that's why. it's the bug. it's always the bug. π
π₯ SEE ALSO π₯
Kernel file ./drivers/ata/pata_ns87415.c β the whole friend group fr fr:
ns87415_set_mode(9)ns87415_set_piomode(9)ns87415_bmdma_setup(9)ns87415_bmdma_start(9)ns87415_bmdma_stop(9)ns87415_check_atapi_dma(9)ns87560_read_buggy(9)ns87560_check_status(9)ns87560_tf_read(9)ns87560_bmdma_status(9)ns87415_init_one(9)
ngl ns87560_read_buggy is out here with "buggy" right in the name and honestly? respect. self-aware king π
π that's the page!! sourced from ./drivers/ata, dated October 2026, and the whole thing is filed under ns87415_irq_clear(9) β mwah, slay, periodt, go clear those interrupts bestie πβ¨π
π¦ 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