From 7aa4d4483ef875107fbb4562ddba50cc50c7ee08 Mon Sep 17 00:00:00 2001 From: scottr Date: Wed, 16 Sep 1998 05:36:35 +0000 Subject: Revert the last change: returning COMPLETE is clearly the wrong thing to do if we weren't polling to begin with. --- sys/dev/ic/ncr5380sbc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c index ec974b406d2..9f37e388dbb 100644 --- a/sys/dev/ic/ncr5380sbc.c +++ b/sys/dev/ic/ncr5380sbc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380sbc.c,v 1.26 1998/09/14 05:56:14 scottr Exp $ */ +/* $NetBSD: ncr5380sbc.c,v 1.27 1998/09/16 05:36:35 scottr Exp $ */ /* * Copyright (c) 1995 David Jones, Gordon W. Ross @@ -670,8 +670,7 @@ new: if ((xs->flags & ITSDONE) == 0) panic("ncr5380_scsi_cmd: poll didn't finish"); rv = COMPLETE; - } else if ((xs->flags & ITSDONE)) - rv = COMPLETE; + } out: splx(s); -- cgit