Re: First steps towards making NO_IRQ a generic concept

Arjan van de Ven
2005-11-03T17:15:36Z

On Thu, 2005-11-03 at 07:51 -0700, Matthew Wilcox wrote:
> Introduce PCI_NO_IRQ and pci_valid_irq()
> Explicitly initialise pci_dev->irq with PCI_NO_IRQ, allowing us to change
> the value of PCI_NO_IRQ when all drivers have been audited.

can pci_valid_irq() accept a device instead of a number?
that allows a lot more checks later on (like "is it enabled") and other
such checks.