Scroll to navigation

PCI_FREE_IRQ(9) Hardware Interfaces PCI_FREE_IRQ(9)

NAME

pci_free_irq - free an interrupt allocated with pci_request_irq

SYNOPSIS

void pci_free_irq(struct pci_dev * dev, unsigned int nr, void * dev_id);

ARGUMENTS

dev

PCI device to operate on

nr

device-relative interrupt vector index (0-based).

dev_id

Device identity to free

DESCRIPTION

Remove an interrupt handler. The handler is removed and if the interrupt line is no longer in use by any driver it is disabled. The caller must ensure the interrupt is disabled on the device before calling this function. The function does not return until any executing interrupts for this IRQ have completed.

This function must not be called from interrupt context.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10