Re: If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, 2 Jul 2005, David Woodhouse wrote:
> 
> Zero _is_ a valid IRQ number.

Not for a "legacy irq" it ain't.

If the ACPI layer itself decides to use IRQ0, then that's fine, and that 
path hasn't changed at all. 

However, if ACPI doesn't find any irq, and ends up just using whatever irq 
the device had for some legacy reason, then irq 0 just means "nobody set 
an irq".

Besides, we'll actually be returning 0 _anyway_. The only thing my patch
fixes (and it _is_ a fix) is that we won't be stupidly thinking that we
actually have a valid irq, and that we should turn it level-sensitive.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux