Module Name: src
Committed By: phx
Date: Mon Jan 19 20:10:27 UTC 2015
Modified Files:
src/sys/arch/amiga/dev: sbic.c
Log Message:
Make it compile with -DDEBUG again.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/amiga/dev/sbic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/dev/sbic.c
diff -u src/sys/arch/amiga/dev/sbic.c:1.73 src/sys/arch/amiga/dev/sbic.c:1.74
--- src/sys/arch/amiga/dev/sbic.c:1.73 Thu Aug 7 08:59:42 2014
+++ src/sys/arch/amiga/dev/sbic.c Mon Jan 19 20:10:27 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: sbic.c,v 1.73 2014/08/07 08:59:42 joerg Exp $ */
+/* $NetBSD: sbic.c,v 1.74 2015/01/19 20:10:27 phx Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -81,7 +81,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.73 2014/08/07 08:59:42 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.74 2015/01/19 20:10:27 phx Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1231,11 +1231,17 @@ int
sbicxfin(sbic_regmap_t regs, int len, void *bp)
{
int wait;
- u_char *buf;
u_char orig_csr, csr, asr;
+ u_char *buf;
+#ifdef DEBUG
+ u_char *obp;
+#endif
wait = sbic_data_wait;
buf = bp;
+#ifdef DEBUG
+ obp = bp;
+#endif
GET_SBIC_csr (regs, orig_csr);
__USE(orig_csr);