[ACPI] PNPACPI IRQ workaround for HP workstations
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Sat, 3 Sep 2005 04:37:56 +0000 (00:37 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 3 Sep 2005 04:42:56 +0000 (00:42 -0400)
commitdbed12da5bb06b15c63930e9282b45daea566d7b
treed5133cd1d506c77659fa0f9781bf67630f342884
parent5f0110f2a716376f3b260703835f527ca8900946
[ACPI] PNPACPI IRQ workaround for HP workstations

Move pcibios_penalize_isa_irq() to pnpacpi_parse_allocated_irqresource().
Previously we passed the GSI, not the IRQ, and we did it even if parsing
the IRQ resource failed.

Parse IRQ descriptors that contain multiple interrupts.  This violates the
spec (in _CRS, only one interrupt per descriptor is allowed), but some
firmware, e.g., HP rx7620 and rx8620 descriptions of HPET, has this bug.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c