diff options
-rw-r--r-- | drivers/acpi/pci_irq.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index aabf8a965aff..7978c97afb0a 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c | |||
@@ -395,15 +395,16 @@ acpi_pci_irq_lookup(struct pci_dev *dev, int pin, | |||
395 | int ret; | 395 | int ret; |
396 | 396 | ||
397 | 397 | ||
398 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Searching for _PRT entry for %s[%c]\n", | ||
399 | pci_name(dev), pin_name(pin))); | ||
400 | |||
401 | entry = acpi_pci_irq_find_prt_entry(dev, pin); | 398 | entry = acpi_pci_irq_find_prt_entry(dev, pin); |
402 | if (!entry) { | 399 | if (!entry) { |
403 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "_PRT entry not found\n")); | 400 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No %s[%c] _PRT entry\n", |
401 | pci_name(dev), pin_name(pin))); | ||
404 | return -1; | 402 | return -1; |
405 | } | 403 | } |
406 | 404 | ||
405 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found %s[%c] _PRT entry\n", | ||
406 | pci_name(dev), pin_name(pin))); | ||
407 | |||
407 | ret = func(entry, triggering, polarity, link); | 408 | ret = func(entry, triggering, polarity, link); |
408 | return ret; | 409 | return ret; |
409 | } | 410 | } |
@@ -455,8 +456,8 @@ acpi_pci_irq_derive(struct pci_dev *dev, | |||
455 | return -1; | 456 | return -1; |
456 | } | 457 | } |
457 | 458 | ||
458 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Derive GSI %d for device %s from %s\n", | 459 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Derived GSI %d for %s INT %c from %s\n", |
459 | irq, pci_name(dev), pci_name(bridge))); | 460 | irq, pci_name(dev), pin_name(orig_pin), pci_name(bridge))); |
460 | 461 | ||
461 | return irq; | 462 | return irq; |
462 | } | 463 | } |