Module Name:    src
Committed By:   snj
Date:           Tue Jan  3 06:42:04 UTC 2017

Modified Files:
        src/sys/arch/amiga/dev [netbsd-7]: sbic.c

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #1345):
        sys/arch/amiga/dev/sbic.c: revision 1.74
Make it compile with -DDEBUG again.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.2.1 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.73.2.1
--- src/sys/arch/amiga/dev/sbic.c:1.73	Thu Aug  7 08:59:42 2014
+++ src/sys/arch/amiga/dev/sbic.c	Tue Jan  3 06:42:04 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbic.c,v 1.73 2014/08/07 08:59:42 joerg Exp $ */
+/*	$NetBSD: sbic.c,v 1.73.2.1 2017/01/03 06:42:04 snj 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.73.2.1 2017/01/03 06:42:04 snj 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);

Reply via email to