|
@@ -755,6 +755,9 @@ static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data)
|
|
|
if (pnpacpi_supported_resource(res)) {
|
|
|
(*resource)->type = res->type;
|
|
|
(*resource)->length = sizeof(struct acpi_resource);
|
|
|
+ if (res->type == ACPI_RESOURCE_TYPE_IRQ)
|
|
|
+ (*resource)->data.irq.descriptor_length =
|
|
|
+ res->data.irq.descriptor_length;
|
|
|
(*resource)++;
|
|
|
}
|
|
|
|
|
@@ -810,10 +813,12 @@ static void pnpacpi_encode_irq(struct pnp_dev *dev,
|
|
|
irq->interrupt_count = 1;
|
|
|
irq->interrupts[0] = p->start;
|
|
|
|
|
|
- dev_dbg(&dev->dev, " encode irq %d %s %s %s\n", (int) p->start,
|
|
|
+ dev_dbg(&dev->dev, " encode irq %d %s %s %s (%d-byte descriptor)\n",
|
|
|
+ (int) p->start,
|
|
|
triggering == ACPI_LEVEL_SENSITIVE ? "level" : "edge",
|
|
|
polarity == ACPI_ACTIVE_LOW ? "low" : "high",
|
|
|
- irq->sharable == ACPI_SHARED ? "shared" : "exclusive");
|
|
|
+ irq->sharable == ACPI_SHARED ? "shared" : "exclusive",
|
|
|
+ irq->descriptor_length);
|
|
|
}
|
|
|
|
|
|
static void pnpacpi_encode_ext_irq(struct pnp_dev *dev,
|