jmicron_init_one(9)
π jmicron_init_one(9) π
okay so bestie, welcome to the Kernel API Manual entry for jmicron_init_one β yes that's a section 9 page, kernel-internals territory, and yes you're gonna slay it. sit down, grab a strawberry drink π, and let's go.
β¨ NAME β¨
jmicron_init_one β literally the function that registers a Jmicron ATA PCI device with kernel services. that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
int jmicron_init_one (struct pci_dev *pdev , const struct pci_device_id
*id );
like, that's the signature, exactly as written, don't come for me about the spacing, it's giving original-manpage energy π
π¦ ARGUMENTS π¦
pdevβ the PCI device you're registering. the main character of this call, honestly πidβ the PCI device ID. the supporting cast, still iconic π«Ά
π DESCRIPTION π
so this one gets called from the kernel PCI layer. you're not the one summoning it, the layer is. it's giving "invited to the party, didn't plan the party." π§
LOCKING: the locking is inherited from the PCI layer, and heads up β it may sleep. so no, you cannot just call this from anywhere while holding a spinlock and expect the universe to be chill about it π
β RETURN β
- Zero on success π (the slay outcome)
- a
-ERRNOvalue otherwise π (the not-so-slay outcome)
π₯ SEE ALSO π₯
- kernel file
./drivers/ata/pata_jmicron.c jmicron_pre_reset(9)β the other friend in this friend group, go say hi π
bestie reminder: every flag, argument, return value and caveat up there is exactly what the page says β I'm just making it cute, not making things up. iykyk π
and that's the page, mwah π β brought to you by the source under ./drivers/ata, dated October 2026, and yes this whole thing lives in section 9 of the Kernel API Manual. 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