diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-08 17:11:49 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-08 17:20:52 +1000 |
commit | 869c7522aad98c2682e37feb8e56be7a3e975d4d (patch) | |
tree | 51c98e091a4eb7b29066bfaed140d9c440ce3677 /hw | |
parent | 6f1019e652c517cb825c09a03f52f420dc5e9002 (diff) | |
download | skiboot-869c7522aad98c2682e37feb8e56be7a3e975d4d.zip skiboot-869c7522aad98c2682e37feb8e56be7a3e975d4d.tar.gz skiboot-869c7522aad98c2682e37feb8e56be7a3e975d4d.tar.bz2 |
pci: Improve logging format and log levels
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -486,8 +486,8 @@ static int64_t phb3_presence_detect(struct phb *phb) /* Read hotplug override */ hp_override = in_be64(p->regs + PHB_HOTPLUG_OVERRIDE); - printf("PHB%d: slot_stat: 0x%04x, hp_override: 0x%016llx\n", - phb->opal_id, slot_stat, hp_override); + PHBDBG(p, "slot_stat: 0x%04x, hp_override: 0x%016llx\n", + slot_stat, hp_override); /* So if the slot status says nothing connected, we bail out */ if (!(slot_stat & PCICAP_EXP_SLOTSTAT_PDETECTST)) |