aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-12-08 23:30:05 -0500
committerLen Brown <len.brown@intel.com>2008-12-30 21:08:42 -0500
commit21a53283a012f21764f2aaaac9414849e1153d93 (patch)
treefd63dee52fbdd8bb10b318c06606382b05545cf5 /drivers/acpi/pci_irq.c
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff)
ACPI: PCI: use conventional PCI address format
Use the conventional format for PCI addresses (%04x:%02x:%02x.%d). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
-rw-r--r--drivers/acpi/pci_irq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
index 11acaee14d66..63a132609991 100644
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -222,7 +222,7 @@ acpi_pci_irq_add_entry(acpi_handle handle,
222 entry->link.index = prt->source_index; 222 entry->link.index = prt->source_index;
223 223
224 ACPI_DEBUG_PRINT_RAW((ACPI_DB_INFO, 224 ACPI_DEBUG_PRINT_RAW((ACPI_DB_INFO,
225 " %02X:%02X:%02X[%c] -> %s[%d]\n", 225 " %04x:%02x:%02x[%c] -> %s[%d]\n",
226 entry->id.segment, entry->id.bus, 226 entry->id.segment, entry->id.bus,
227 entry->id.device, ('A' + entry->pin), prt->source, 227 entry->id.device, ('A' + entry->pin), prt->source,
228 entry->link.index)); 228 entry->link.index));
@@ -328,8 +328,8 @@ void acpi_pci_irq_del_prt(int segment, int bus)
328 } 328 }
329 329
330 printk(KERN_DEBUG 330 printk(KERN_DEBUG
331 "ACPI: Delete PCI Interrupt Routing Table for %x:%x\n", segment, 331 "ACPI: Delete PCI Interrupt Routing Table for %04x:%02x\n",
332 bus); 332 segment, bus);
333 spin_lock(&acpi_prt_lock); 333 spin_lock(&acpi_prt_lock);
334 list_for_each_safe(node, n, &acpi_prt.entries) { 334 list_for_each_safe(node, n, &acpi_prt.entries) {
335 entry = list_entry(node, struct acpi_prt_entry, node); 335 entry = list_entry(node, struct acpi_prt_entry, node);
@@ -403,12 +403,12 @@ acpi_pci_irq_lookup(struct pci_bus *bus,
403 403
404 404
405 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 405 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
406 "Searching for PRT entry for %02x:%02x:%02x[%c]\n", 406 "Searching for _PRT entry for %04x:%02x:%02x[%c]\n",
407 segment, bus_nr, device, ('A' + pin))); 407 segment, bus_nr, device, ('A' + pin)));
408 408
409 entry = acpi_pci_irq_find_prt_entry(segment, bus_nr, device, pin); 409 entry = acpi_pci_irq_find_prt_entry(segment, bus_nr, device, pin);
410 if (!entry) { 410 if (!entry) {
411 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "PRT entry not found\n")); 411 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "_PRT entry not found\n"));
412 return -1; 412 return -1;
413 } 413 }
414 414