Revision 8fd5cf4b hw/pci.c
b/hw/pci.c | ||
---|---|---|
1558 | 1558 |
/* try child bus */ |
1559 | 1559 |
QLIST_FOREACH(sec, &bus->child, sibling) { |
1560 | 1560 |
if (!bus->parent_dev /* pci host bridge */ |
1561 |
|| (pci_bus_num(sec) >= bus_num &&
|
|
1561 |
|| (pci_bus_num(sec) <= bus_num &&
|
|
1562 | 1562 |
bus_num <= bus->parent_dev->config[PCI_SUBORDINATE_BUS]) ) { |
1563 | 1563 |
ret = pci_find_bus(sec, bus_num); |
1564 | 1564 |
if (ret) { |
Also available in: Unified diff