diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-10 15:02:18 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:12:44 -0500 |
commit | 29935282f24a6ce2f0a65c3d77fb7f695461f583 (patch) | |
tree | c2f99a3b4fe45050a1c30ec5b0f0f75dcff90aa8 /drivers/pci | |
parent | 2a9d35219c593bdf46ec21f2b75a6370af7af1b0 (diff) |
PCI: make PCI bus resource messages more meaningful
Change PCI bus resource messages so they have a bit more context
and look like the rest of PCI, e.g.,
- bus: 00 index 0 io port: [0x00-0xffff]
- bus: 00 index 1 mmio: [0x000000-0xffffffff]
+ pci 0000:00: bus resource 0 io : [0x00-0xffff]
+ pci 0000:00: bus resource 1 mem: [0x000000-0xffffffff]
This also changes them from KERN_INFO to KERN_DEBUG.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/setup-bus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index ea979f2bc6db..09e2c3cd2bef 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -536,9 +536,9 @@ static void pci_bus_dump_res(struct pci_bus *bus) | |||
536 | if (!res) | 536 | if (!res) |
537 | continue; | 537 | continue; |
538 | 538 | ||
539 | printk(KERN_INFO "bus: %02x index %x %s: %pR\n", | 539 | printk(KERN_DEBUG "pci %04x:%02x: bus resource %d %s %pR\n", |
540 | bus->number, i, | 540 | pci_domain_nr(bus), bus->number, i, |
541 | (res->flags & IORESOURCE_IO) ? "io port" : "mmio", res); | 541 | (res->flags & IORESOURCE_IO) ? "io: " : "mem:", res); |
542 | } | 542 | } |
543 | } | 543 | } |
544 | 544 | ||