diff mbox

PCI: slightly reword the log for bus numbering

Message ID 1490258525-80319-1-git-send-email-shawn.lin@rock-chips.com
State Not Applicable
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Shawn Lin March 23, 2017, 8:42 a.m. UTC
I was confused by the log that bridge configuration is invalid.
It seems like that the RC driver do some silly configurations
before sacnning the tree. But actually it was just trying to
figure out if the hierarchy behind the bridge had been configured
by BIOS. The log should better reflect the fact and don't mislead
folks.

pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]),
reconfiguring

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/pci/probe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 3abc942..957d7c4 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -975,7 +975,7 @@  int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass)
 	if (!pass &&
 	    (primary != bus->number || secondary <= bus->number ||
 	     secondary > subordinate)) {
-		dev_info(&dev->dev, "bridge configuration invalid ([bus %02x-%02x]), reconfiguring\n",
+		dev_info(&dev->dev, "bridge hasn't been configured by BIOS ([bus %02x-%02x]), reconfiguring\n",
 			 secondary, subordinate);
 		broken = 1;
 	}