From 5636ab7e4e46e59aff7ba7fd135eb59ba8cb9d00 Mon Sep 17 00:00:00 2001 From: niklas Date: Sat, 4 May 1996 14:12:29 +0000 Subject: [PATCH] From NetBSD: More cleanup for -Wall with DEBUG. --- sys/arch/amiga/dev/sbic.c | 11 ++++++++--- 1 file 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,8 +1813,13 @@ 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 /* @@ -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"); -- 2.20.1