summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorscottr <scottr@NetBSD.org>1998-09-16 05:36:35 +0000
committerscottr <scottr@NetBSD.org>1998-09-16 05:36:35 +0000
commit7aa4d4483ef875107fbb4562ddba50cc50c7ee08 (patch)
treebb46bd5ba7b516e61a1071923424c4ff9936f3fa /sys/dev
parent4963603d0f7a37a1a8b59547f802a6a143e2ab30 (diff)
Revert the last change: returning COMPLETE is clearly the wrong thing to do
if we weren't polling to begin with.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ncr5380sbc.c5
1 files changed, 2 insertions, 3 deletions
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);