Re: First steps towards making NO_IRQ a generic concept

From: Arjan van de Ven
Date: Thu Nov 03 2005 - 12:15:47 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/