comedi_pci_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 on dev->hw_dev being non-NULL and on that earlier comedi_pci_enable call having succeeded. no cap.

🌈 SEE ALSO 🌈


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