summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-04 14:12:30 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-04 14:12:30 +0000
commit440befa4899c6b86ae36007a07b9de01a1579c24 (patch)
tree1b6e1f5c9e284c00945feee5cbbb592013b1fd28 /sys/arch/amiga
parentfef4cf7047f835deac357a8c8681756cdac54865 (diff)
From NetBSD:
More cleanup for -Wall with DEBUG.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/dev/sbic.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/amiga/dev/sbic.c b/sys/arch/amiga/dev/sbic.c
index 650a57242d6..37308102c96 100644
--- a/sys/arch/amiga/dev/sbic.c
+++ b/sys/arch/amiga/dev/sbic.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: sbic.c,v 1.5 1996/05/02 06:44:26 niklas Exp $ */
-/* $NetBSD: sbic.c,v 1.23 1996/04/21 21:12:21 veego Exp $ */
+/* $OpenBSD: sbic.c,v 1.6 1996/05/04 14:12:29 niklas Exp $ */
+/* $NetBSD: sbic.c,v 1.24 1996/05/01 16:58:41 mhitch Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -1813,9 +1813,14 @@ sbicgo(dev, xs)
if( data_pointer_debug > 1 )
printf("sbicgo dmago:%d(%p:%lx)\n",
dev->target,dev->sc_cur->dc_addr,dev->sc_tcnt);
+#if 0
+ /*
+ * Hmm - this isn't right: asr and csr haven't been set yet.
+ */
debug_asr = asr;
debug_csr = csr;
#endif
+#endif
/*
* Lets cycle a while then let the interrupt handler take over
@@ -2851,7 +2856,7 @@ sbic_dump(dev)
GET_SBIC_csr(regs, csr);
else
csr = 0;
- printf("%s@%p regs %x asr %x csr %x\n", dev->sc_dev.dv_xname,
+ printf("%s@%p regs %p asr %x csr %x\n", dev->sc_dev.dv_xname,
dev, regs, asr, csr);
if ((acb = dev->free_list.tqh_first)) {
printf("Free list:\n");