Don't create new-bus resources for ACPI extended IRQ resources that are

producers rather than consumers as new-bus resources only handle consumed
resources.  We already do this for the other ACPI resource types that
support the producer/consumer attribute.
This commit is contained in:
John Baldwin 2005-01-18 20:21:36 +00:00
parent 3fcfbbfa76
commit b0977ecfd7

View File

@ -439,7 +439,11 @@ acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
"unimplemented Address64 resource\n"));
break;
case ACPI_RSTYPE_EXT_IRQ:
/* XXX special handling? */
if (res->Data.ExtendedIrq.ProducerConsumer != ACPI_CONSUMER) {
ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES,
"ignored ExtIRQ producer\n"));
break;
}
set->set_irq(dev, context,res->Data.ExtendedIrq.Interrupts,
res->Data.ExtendedIrq.NumberOfInterrupts,
res->Data.ExtendedIrq.EdgeLevel,