summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-05-22 10:50:32 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-05-22 10:50:32 +0000
commitc186da363bcec3dbf145515d9a5bf9f674d7f166 (patch)
tree2f842637e639c433f499dfcdd238dd2d4af38bab
parented78c54a305b8dcde4c7d32edb6912f5ce1203d7 (diff)
this should hopefully fix problems with scsi based hangs on 2100 and
3100 machines (thanks to michael hitch from NetBSD)
-rw-r--r--sys/arch/pmax/dev/sii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/pmax/dev/sii.c b/sys/arch/pmax/dev/sii.c
index 43185c1b113..7052341147a 100644
--- a/sys/arch/pmax/dev/sii.c
+++ b/sys/arch/pmax/dev/sii.c
@@ -1058,7 +1058,7 @@ again:
* Note that the SII DMA address is not incremented
* as DMA proceeds.
*/
- if (state->dmaCurPhase > 0) {
+ if (state->dmaCurPhase >= 0) {
/* save dma registers */
state->dmaPrevPhase = state->dmaCurPhase;
state->dmaCurPhase = -1;