get one from overlap diff --git a/src/devices/hypertransport.c b/src/devices/hypertransport.c index c752d78..38d9f51 100644 --- a/src/devices/hypertransport.c +++ b/src/devices/hypertransport.c @@ -521,7 +521,7 @@ unsigned int hypertransport_scan_chain(struct bus *bus, /* Now that nothing is overlapping it is safe to scan the * children. */ - max = pci_scan_bus(bus, 0x00, (next_unitid << 3)|7, max); + max = pci_scan_bus(bus, 0x00, ((next_unitid-1) << 3)|7, max); return max; }