Very small fix to pci_dummy.c.

This commit is contained in:
OBattler
2023-02-11 22:51:00 +01:00
parent 050c0c0e18
commit e395c59254

View File

@@ -277,7 +277,7 @@ pci_dummy_init(int min_slot, int max_slot, int nb_slot, int sb_slot)
for (i = min_slot; i <= max_slot; i++) {
if ((i != nb_slot) && (i != sb_slot)) {
pci_register_slot(j, PCI_CARD_NORMAL, 1, 3, 2, 4);
pci_register_slot(i, PCI_CARD_NORMAL, 1, 3, 2, 4);
device_add_inst(&pci_dummy_device, j);
j++;
}