Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/booke/dev Add DEBUG around a variable.



details:   https://anonhg.NetBSD.org/src/rev/e93f6a9e0bdd
branches:  trunk
changeset: 766372:e93f6a9e0bdd
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 21 06:25:19 2011 +0000

description:
Add DEBUG around a variable.

diffstat:

 sys/arch/powerpc/booke/dev/pq3etsec.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 806fb346ffcc -r e93f6a9e0bdd sys/arch/powerpc/booke/dev/pq3etsec.c
--- a/sys/arch/powerpc/booke/dev/pq3etsec.c     Tue Jun 21 06:24:25 2011 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3etsec.c     Tue Jun 21 06:25:19 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pq3etsec.c,v 1.5 2011/06/17 19:03:03 matt Exp $        */
+/*     $NetBSD: pq3etsec.c,v 1.6 2011/06/21 06:25:19 matt Exp $        */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -2385,6 +2385,8 @@
                softint_schedule(sc->sc_soft_ih);
        splx(s);
        callout_schedule(&sc->sc_mii_callout, hz);
+#ifdef DEBUG
        sc->sc_mii_last_tick = now;
+#endif
        mutex_exit(sc->sc_lock);
 }



Home | Main Index | Thread Index | Old Index