Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97998
b: refs/heads/master
c: 36d872a
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Jun 11, 2008
1 parent 135065a commit fefc6dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a993273beae8022390e48fe9205480565ad470ab
refs/heads/master: 36d872a370d3d10e5a7faa9dcacce744260fb13b
9 changes: 7 additions & 2 deletions trunk/drivers/pnp/pnpacpi/rsparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)++;
}

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit fefc6dc

Please sign in to comment.