From 45e55a7163b48b99bd4d2a1b44a4213f5cf0d88c Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 26 Jan 2018 19:52:10 +0100 Subject: [PATCH] Fixed the NCR5380 timer initialization, fixes hangs with the NCR5380-based SCSI controllers. --- src/scsi/scsi_ncr5380.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index 2c5aea316..2614d0ff6 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -9,7 +9,7 @@ * Implementation of the NCR 5380 series of SCSI Host Adapters * made by NCR. These controllers were designed for the ISA bus. * - * Version: @(#)scsi_ncr5380.c 1.0.9 2017/12/16 + * Version: @(#)scsi_ncr5380.c 1.0.10 2018/01/26 * * Authors: Sarah Walker, * TheCollector1995, @@ -905,7 +905,7 @@ ncr_init(device_t *info) scsi->status_ctrl = STATUS_BUFFER_NOT_READY; scsi->buffer_host_pos = 128; - timer_add(dma_callback, &scsi->dma_timer, &scsi->dma_timer, scsi); + timer_add(dma_callback, &scsi->dma_timer, &scsi->dma_enabled, scsi); return(scsi); }