Fixed the strict round robin mode used by the BusLogic SCSI controllers.

This commit is contained in:
OBattler
2019-09-25 06:23:48 +02:00
parent aa1c655e97
commit 5457352451

View File

@@ -1188,11 +1188,9 @@ x54x_do_mail(x54x_t *dev)
}
} else {
/* Strict round robin mode - only process the current mailbox and advance the pointer if successful. */
x54x_do_mail_again:
if (x54x_mbo_process(dev)) {
dev->MailboxOutPosCur++;
dev->MailboxOutPosCur %= dev->MailboxCount;
goto x54x_do_mail_again;
}
}
}