Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7797
b: refs/heads/master
c: 349f0d5
h: refs/heads/master
i:
  7795: 6be01a9
v: v3
  • Loading branch information
Kenji Kaneshige authored and Len Brown committed Aug 5, 2005
1 parent fb1ba9e commit 1e9231f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 1f3a6a15771ed70d3b2581663dcc6b9bc134baa5
refs/heads/master: 349f0d5640c18db09a646f9da51a97f1da908660
9 changes: 8 additions & 1 deletion trunk/drivers/acpi/pci_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ acpi_pci_irq_enable (
int edge_level = ACPI_LEVEL_SENSITIVE;
int active_high_low = ACPI_ACTIVE_LOW;
char *link = NULL;
int rc;

ACPI_FUNCTION_TRACE("acpi_pci_irq_enable");

Expand Down Expand Up @@ -475,7 +476,13 @@ acpi_pci_irq_enable (
}
}

dev->irq = acpi_register_gsi(irq, edge_level, active_high_low);
rc = acpi_register_gsi(irq, edge_level, active_high_low);
if (rc < 0) {
printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: failed "
"to register GSI\n", pci_name(dev), ('A' + pin));
return_VALUE(rc);
}
dev->irq = rc;

printk(KERN_INFO PREFIX "PCI Interrupt %s[%c] -> ",
pci_name(dev), 'A' + pin);
Expand Down

0 comments on commit 1e9231f

Please sign in to comment.