From 2d65c82055fbe07d4a1bf31fe3efd8bb420be88a Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 20 Jan 2021 23:33:04 +0100 Subject: [PATCH] Fixed a serious hang bug on 486 cpus using the Rancho bios'es (looks like it's very timing sensible). --- src/scsi/scsi_ncr5380.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index 032b5f1f3..0009b4430 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -1095,10 +1095,7 @@ ncr_callback(void *priv) ncr_log("DMA mode=%d, status ctrl = %02x\n", ncr->dma_mode, ncr_dev->status_ctrl); if (ncr->dma_mode != DMA_IDLE && (ncr->mode & MODE_DMA) && ncr_dev->block_count_loaded) { - if (scsi_device_get_callback(dev) <= 0.0) - timer_on_auto(&ncr_dev->timer, 10.0); - else - ncr_timer_on(ncr_dev, ncr, 0); + ncr_timer_on(ncr_dev, ncr, 0); } if (ncr->data_wait & 1) {