summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/mac68k5380.c
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-27 19:28:40 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-27 19:28:40 +0000
commit1efa18eef86b29e2b7c0a8e3cf0139c4b84d0261 (patch)
tree21a9e055ae8bb3df36c63e3f8e0ad68f6b7d412e /sys/arch/mac68k/dev/mac68k5380.c
parent1fc85c7f6a21c0185d6759e23e34ea4ef57ee51b (diff)
What was I thinking?
Diffstat (limited to 'sys/arch/mac68k/dev/mac68k5380.c')
-rw-r--r--sys/arch/mac68k/dev/mac68k5380.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/arch/mac68k/dev/mac68k5380.c b/sys/arch/mac68k/dev/mac68k5380.c
index b6972dc870d..f1ae755c4cb 100644
--- a/sys/arch/mac68k/dev/mac68k5380.c
+++ b/sys/arch/mac68k/dev/mac68k5380.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mac68k5380.c,v 1.10 1997/04/07 12:56:45 briggs Exp $ */
+/* $OpenBSD: mac68k5380.c,v 1.11 1997/04/27 19:28:39 briggs Exp $ */
/* $NetBSD: mac68k5380.c,v 1.29 1997/02/28 15:50:50 scottr Exp $ */
/*
@@ -451,12 +451,6 @@ extern int *nofault, mac68k_buserr_addr;
pending_5380_count -= dcount;
pending_5380_data += dcount;
}
- /*
- * OK. No bus error occurred above. Clear the nofault flag
- * so we no longer short-circuit bus errors.
- */
- nofault = (int *) 0;
-
} else {
int resid;
@@ -511,18 +505,18 @@ extern int *nofault, mac68k_buserr_addr;
PID("write complete");
- /*
- * OK. No bus error occurred above. Clear the nofault flag
- * so we no longer short-circuit bus errors.
- */
- nofault = (int *) 0;
-
drq = (volatile u_int8_t *) ncr_5380_with_drq;
tmp_data = *drq;
PID("read a byte to force a phase change");
}
+ /*
+ * OK. No bus error occurred above. Clear the nofault flag
+ * so we no longer short-circuit bus errors.
+ */
+ nofault = (int *) 0;
+
PID("end drq");
return;
#else