Révision | 678fa113708cfddc8083faa184cf9eabcf05e7fe (tree) |
---|---|
l'heure | 2016-04-17 19:24:47 |
Auteur | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
pci: Device scanning range fix.
Don't lookup pci device 1f.7
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -682,7 +682,7 @@ int pci_bind_bus_devices(struct udevice *bus) | ||
682 | 682 | found_multi = false; |
683 | 683 | end = PCI_BDF(bus->seq, PCI_MAX_PCI_DEVICES - 1, |
684 | 684 | PCI_MAX_PCI_FUNCTIONS - 1); |
685 | - for (bdf = PCI_BDF(bus->seq, 0, 0); bdf < end; | |
685 | + for (bdf = PCI_BDF(bus->seq, 0, 0); bdf <= end; | |
686 | 686 | bdf += PCI_BDF(0, 0, 1)) { |
687 | 687 | struct pci_child_platdata *pplat; |
688 | 688 | struct udevice *dev; |