Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Scott Reynolds <scottr@netbsd.org>
List: source-changes
Date: 09/13/1998 22:56:15
Module Name:	src
Committed By:	scottr
Date:		Mon Sep 14 05:56:14 UTC 1998

Modified Files:
	src/sys/dev/ic: ncr5380sbc.c
Log Message:
Correct a serious problem that affects at least front ends that can only
use PIO (or equivalent) code to do asynchronous transfers:  In
ncr5380_scsi_cmd(), test to see if the request has been completed after
the call to ncr5380_sched(), and return COMPLETE if so.  This avoids
going into an infinite loop in scsipi_execute_xs() while waiting for an
interrupt to trigger completion of the transfer... which, of course,
never happens, since it's already done.