From 053d0c603bb945ce7ac59847c8e3aad3a6691546 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 9 Jan 1995 08:18:43 +0000 Subject: [PATCH] add xs->resid = 0; to ncr5380_scsi_cmd(). --- sys/arch/pc532/dev/nncr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/pc532/dev/nncr.c b/sys/arch/pc532/dev/nncr.c index b8f8a710c912..7d3401bd633d 100644 --- a/sys/arch/pc532/dev/nncr.c +++ b/sys/arch/pc532/dev/nncr.c @@ -1,4 +1,4 @@ -/* $NetBSD: nncr.c,v 1.5 1994/12/30 01:40:01 phil Exp $ */ +/* $NetBSD: nncr.c,v 1.6 1995/01/09 08:18:43 phil Exp $ */ /* * Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo, @@ -268,6 +268,7 @@ ncr5380_scsi_cmd(struct scsi_xfer *xs) return(COMPLETE); } + xs->resid = 0; /* Default value? */ r = ncr5380_send_cmd(xs); xs->flags |= ITSDONE; scsi_done(xs);