diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-01-14 12:04:30 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 22:29:18 -0400 |
commit | 7bc9e77dcc6edf6ce0b3e4677b1e7f4a05b95b85 (patch) | |
tree | 72fb1f32467923c63fe9e2b5b95c27bdc859b02e /arch/x86/pci | |
parent | 600914ba524130583fa5acdd00df4aa7aa44b173 (diff) |
PCI/x86: format early dump like other PCI output
Use %02x:%02x.%d rather than %02x:%02x:%02x so PCI addresses
look the same as in other parts of the kernel.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/early.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/pci/early.c b/arch/x86/pci/early.c index c1a2cd541724..aaf26ae58cd5 100644 --- a/arch/x86/pci/early.c +++ b/arch/x86/pci/early.c | |||
@@ -69,11 +69,12 @@ void early_dump_pci_device(u8 bus, u8 slot, u8 func) | |||
69 | int j; | 69 | int j; |
70 | u32 val; | 70 | u32 val; |
71 | 71 | ||
72 | printk(KERN_INFO "PCI: %02x:%02x:%02x", bus, slot, func); | 72 | printk(KERN_INFO "pci 0000:%02x:%02x.%d config space:", |
73 | bus, slot, func); | ||
73 | 74 | ||
74 | for (i = 0; i < 256; i += 4) { | 75 | for (i = 0; i < 256; i += 4) { |
75 | if (!(i & 0x0f)) | 76 | if (!(i & 0x0f)) |
76 | printk("\n%04x:",i); | 77 | printk("\n %02x:",i); |
77 | 78 | ||
78 | val = read_pci_config(bus, slot, func, i); | 79 | val = read_pci_config(bus, slot, func, i); |
79 | for (j = 0; j < 4; j++) { | 80 | for (j = 0; j < 4; j++) { |
@@ -115,4 +116,3 @@ void early_dump_pci_devices(void) | |||
115 | } | 116 | } |
116 | } | 117 | } |
117 | } | 118 | } |
118 | |||