comedi_pci_disable(9)
okay bestie, welcome to the bestie edition of the comedi_pci_disable(9) page from the Kernel API Manual. this one is short and sweet, but every tiny detail is still here β no cap. π«Ά
π NAME π
comedi_pci_disable β Release the regions and disable the PCI device
β¨ SYNOPSIS β¨
void comedi_pci_disable (struct comedi_device *dev );
π¦ ARGUMENTS π¦
devβ COMEDI device.
π DESCRIPTION π
okay so, assuming dev->hw_dev is non-NULL, it's assumed to be pointing to a a struct device embedded in a struct pci_dev β yes, nested-struct main character energy β¨.
If the earlier call to comedi_pci_enable was successful, release the PCI device's regions and disable it. Then reset dev->ioenabled back to false.
fr fr: this is conditional ondev->hw_devbeing non-NULL and on that earliercomedi_pci_enablecall having succeeded. no cap.
π SEE ALSO π
- Kernel file:
./drivers/comedi/comedi_pci.c comedi_to_pci_dev(9)comedi_pci_enable(9)comedi_pci_detach(9)comedi_pci_auto_config(9)comedi_pci_auto_unconfig(9)comedi_pci_driver_register(9)comedi_pci_driver_unregister(9)
that's the whole page, bestie β source/version ./drivers/comedi, date October 2026, and this iconic page is comedi_pci_disable(9). mwah π
π¦ 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