Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/arch/amiga/dev Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/6b35c3ad8123
branches:  netbsd-7
changeset: 800106:6b35c3ad8123
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Jan 03 06:42:04 2017 +0000

description:
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.

diffstat:

 sys/arch/amiga/dev/sbic.c |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 9421a0847a57 -r 6b35c3ad8123 sys/arch/amiga/dev/sbic.c
--- a/sys/arch/amiga/dev/sbic.c Tue Jan 03 06:37:25 2017 +0000
+++ b/sys/arch/amiga/dev/sbic.c Tue Jan 03 06:42:04 2017 +0000
@@ -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 @@
 sbicxfin(sbic_regmap_t regs, int len, void *bp)
 {
        int wait;
+       u_char orig_csr, csr, asr;
        u_char *buf;
-       u_char orig_csr, csr, asr;
+#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);



Home | Main Index | Thread Index | Old Index