[PATCH] PCI: slightly reword the log for bus numbering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---

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

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;
 	}
-- 
1.9.1





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux