Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/dev Remove Mistakenly Left In comments arou...



details:   https://anonhg.NetBSD.org/src/rev/56ccecb8b50f
branches:  trunk
changeset: 513288:56ccecb8b50f
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jul 27 20:48:58 2001 +0000

description:
Remove Mistakenly Left In comments around some `#ifdef DIAGNOSTIC' tests.

diffstat:

 sys/arch/mvme68k/dev/memc.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r b0aa2748aaa7 -r 56ccecb8b50f sys/arch/mvme68k/dev/memc.c
--- a/sys/arch/mvme68k/dev/memc.c       Fri Jul 27 20:48:20 2001 +0000
+++ b/sys/arch/mvme68k/dev/memc.c       Fri Jul 27 20:48:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memc.c,v 1.5 2001/07/27 20:33:35 scw Exp $     */
+/*     $NetBSD: memc.c,v 1.6 2001/07/27 20:48:58 scw Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -485,18 +485,18 @@
         * Clear any error currently in the logs
         */
        rv = memc_reg_read(sc, MEMECC_REG_ERROR_LOGGER);
-/* #ifdef DIAGNOSTIC */
+#ifdef DIAGNOSTIC
        if ((rv & MEMECC_ERROR_LOGGER_MASK) != 0)
                memecc_log_error(sc, rv, 0, 0);
-/* #endif */
+#endif
        memc_reg_write(sc, MEMECC_REG_ERROR_LOGGER,
                    MEMECC_ERROR_LOGGER_ERRLOG);
 
        rv = memc_reg_read(sc, MEMECC_REG_ERROR_LOGGER + 3);
-/* #ifdef DIAGNOSTIC */
+#ifdef DIAGNOSTIC
        if ((rv & MEMECC_ERROR_LOGGER_MASK) != 0)
                memecc_log_error(sc, rv, 3, 0);
-/* #endif */
+#endif
        memc_reg_write(sc, MEMECC_REG_ERROR_LOGGER + 3,
                    MEMECC_ERROR_LOGGER_ERRLOG);
 



Home | Main Index | Thread Index | Old Index