Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2o #if 0 iop_status, but keep it for documentation ...



details:   https://anonhg.NetBSD.org/src/rev/f30234567740
branches:  trunk
changeset: 789968:f30234567740
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Sep 14 13:08:31 2013 +0000

description:
#if 0 iop_status, but keep it for documentation purposes.

diffstat:

 sys/dev/i2o/iop.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 653beee7f1d2 -r f30234567740 sys/dev/i2o/iop.c
--- a/sys/dev/i2o/iop.c Sat Sep 14 13:07:55 2013 +0000
+++ b/sys/dev/i2o/iop.c Sat Sep 14 13:08:31 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iop.c,v 1.82 2012/10/27 17:18:17 chs Exp $     */
+/*     $NetBSD: iop.c,v 1.83 2013/09/14 13:08:31 joerg Exp $   */
 
 /*-
  * Copyright (c) 2000, 2001, 2002, 2007 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.82 2012/10/27 17:18:17 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.83 2013/09/14 13:08:31 joerg Exp $");
 
 #include "iop.h"
 
@@ -180,6 +180,7 @@
        },
 };
 
+#ifdef I2ODEBUG
 static const char * const iop_status[] = {
        "success",
        "abort (dirty)",
@@ -194,6 +195,7 @@
        "process abort (partial transfer)",
        "transaction error",
 };
+#endif
 
 static inline u_int32_t        iop_inl(struct iop_softc *, int);
 static inline void     iop_outl(struct iop_softc *, int, u_int32_t);



Home | Main Index | Thread Index | Old Index