public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] pci: Device scanning range fix.
@ 2016-04-18  8:02 Yoshinori Sato
  2016-04-23 15:12 ` Simon Glass
  2016-04-25  6:14 ` [U-Boot] [PATCH v2] " Yoshinori Sato
  0 siblings, 2 replies; 8+ messages in thread
From: Yoshinori Sato @ 2016-04-18  8:02 UTC (permalink / raw)
  To: u-boot

Don't lookup pci device 1f.7

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
 drivers/pci/pci-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index c7fbf7b..32590ce 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -682,7 +682,7 @@ int pci_bind_bus_devices(struct udevice *bus)
 	found_multi = false;
 	end = PCI_BDF(bus->seq, PCI_MAX_PCI_DEVICES - 1,
 		      PCI_MAX_PCI_FUNCTIONS - 1);
-	for (bdf = PCI_BDF(bus->seq, 0, 0); bdf < end;
+	for (bdf = PCI_BDF(bus->seq, 0, 0); bdf <= end;
 	     bdf += PCI_BDF(0, 0, 1)) {
 		struct pci_child_platdata *pplat;
 		struct udevice *dev;
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-26  0:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18  8:02 [U-Boot] [PATCH] pci: Device scanning range fix Yoshinori Sato
2016-04-23 15:12 ` Simon Glass
2016-04-25  6:14 ` [U-Boot] [PATCH v2] " Yoshinori Sato
2016-04-25  6:27   ` Bin Meng
2016-04-25  6:38     ` Yoshinori Sato
2016-04-25  6:41   ` [U-Boot] [PATCH v3] " Yoshinori Sato
2016-04-25  7:07     ` Bin Meng
2016-04-26  0:17     ` [U-Boot] [U-Boot,v3] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox