diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-08 21:30:56 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-30 21:29:37 -0500 |
commit | 1350487eeb616889f589e9b8c06bd5077452b7e3 (patch) | |
tree | 87b3ad7508ab1f5838439323080455daba5c224a /drivers/acpi | |
parent | 063563b4b8f87e2be0e127ccf3a8e6eef6309ff4 (diff) | |
download | kernel-crypto-1350487eeb616889f589e9b8c06bd5077452b7e3.tar.gz kernel-crypto-1350487eeb616889f589e9b8c06bd5077452b7e3.tar.xz kernel-crypto-1350487eeb616889f589e9b8c06bd5077452b7e3.zip |
ACPI: PCI: tweak _PRT lookup debug
Print one message (either "found" or "not found") for every _PRT
search. And add pin information to the INTx swizzling debug.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-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 aabf8a965af..7978c97afb0 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, int ret; - ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Searching for _PRT entry for %s[%c]\n", - pci_name(dev), pin_name(pin))); - entry = acpi_pci_irq_find_prt_entry(dev, pin); if (!entry) { - ACPI_DEBUG_PRINT((ACPI_DB_INFO, "_PRT entry not found\n")); + ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No %s[%c] _PRT entry\n", + pci_name(dev), pin_name(pin))); return -1; } + ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found %s[%c] _PRT entry\n", + pci_name(dev), pin_name(pin))); + ret = func(entry, triggering, polarity, link); return ret; } @@ -455,8 +456,8 @@ acpi_pci_irq_derive(struct pci_dev *dev, return -1; } - ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Derive GSI %d for device %s from %s\n", - irq, pci_name(dev), pci_name(bridge))); + ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Derived GSI %d for %s INT %c from %s\n", + irq, pci_name(dev), pin_name(orig_pin), pci_name(bridge))); return irq; } |