The BusLogic SCSI controllers now wait the waiting event for 10 seconds when finding a free outgoing mailbox in strict round robin mode, fixes hangs during Windows 2000 setup on the BT-958D.
This commit is contained in:
@@ -11,14 +11,14 @@
|
|||||||
* series of SCSI Host Adapters made by Mylex.
|
* series of SCSI Host Adapters made by Mylex.
|
||||||
* These controllers were designed for various buses.
|
* These controllers were designed for various buses.
|
||||||
*
|
*
|
||||||
* Version: @(#)scsi_x54x.c 1.0.8 2017/12/15
|
* Version: @(#)scsi_x54x.c 1.0.9 2018/01/01
|
||||||
*
|
*
|
||||||
* Authors: TheCollector1995, <mariogplayer@gmail.com>
|
* Authors: TheCollector1995, <mariogplayer@gmail.com>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
* Fred N. van Kempen, <decwiz@yahoo.com>
|
* Fred N. van Kempen, <decwiz@yahoo.com>
|
||||||
*
|
*
|
||||||
* Copyright 2016,2017 Miran Grca.
|
* Copyright 2016,2018 Miran Grca.
|
||||||
* Copyright 2017 Fred N. van Kempen.
|
* Copyright 2018 Fred N. van Kempen.
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -1258,7 +1258,8 @@ x54x_do_mail(x54x_t *dev)
|
|||||||
if (x54x_mbo_process(dev)) {
|
if (x54x_mbo_process(dev)) {
|
||||||
dev->MailboxOutPosCur++;
|
dev->MailboxOutPosCur++;
|
||||||
dev->MailboxOutPosCur %= dev->MailboxCount;
|
dev->MailboxOutPosCur %= dev->MailboxCount;
|
||||||
}
|
} else
|
||||||
|
thread_wait_event((event_t *) wait_evt, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user