Yenta and IRQ0

David Woodhouse dwmw2 at infradead.org
Wed Aug 11 21:17:26 EDT 2004


On Wed, 2004-08-11 at 13:56 -0700, David Hinds wrote:
> Well, I guess that begs the question, how do we correctly test whether
> a device was assigned an interrupt, if 0 is a perfectly valid value?
> On at least some architectures, the PCI subsystem explicitly uses 0 to
> indicate failure to assign an interrupt.

That seems broken; IRQ 0 is a valid IRQ even on the PeeCee. We should
standardise either on -1 or perhaps on NO_IRQ.

-- 
dwmw2





More information about the linux-pcmcia mailing list