Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sdmmc debug ld_sdmmc with LD_SDMMC_DEBUG instead of ...



details:   https://anonhg.NetBSD.org/src/rev/9e91c1923727
branches:  trunk
changeset: 332669:9e91c1923727
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 02 21:49:22 2014 +0000

description:
debug ld_sdmmc with LD_SDMMC_DEBUG instead of SDMMC_DEBUG

diffstat:

 sys/dev/sdmmc/files.sdmmc |  3 ++-
 sys/dev/sdmmc/ld_sdmmc.c  |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 9139d009445e -r 9e91c1923727 sys/dev/sdmmc/files.sdmmc
--- a/sys/dev/sdmmc/files.sdmmc Thu Oct 02 21:36:37 2014 +0000
+++ b/sys/dev/sdmmc/files.sdmmc Thu Oct 02 21:49:22 2014 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: files.sdmmc,v 1.3 2012/02/01 22:34:42 matt Exp $
+#      $NetBSD: files.sdmmc,v 1.4 2014/10/02 21:49:22 jmcneill Exp $
 #      $OpenBSD: files.sdmmc,v 1.2 2006/06/01 21:53:41 uwe Exp $
 #
 # Config file and device description for machine-independent SD/MMC code.
 # Included by ports that need it.
 
 defflag        opt_sdmmc.h                     SDMMC_DEBUG SDHC_DEBUG SDMMCCISDEBUG
+defflag        opt_sdmmc.h                     LD_SDMMC_DEBUG
 
 device sdmmc {}
 attach sdmmc at sdmmcbus
diff -r 9139d009445e -r 9e91c1923727 sys/dev/sdmmc/ld_sdmmc.c
--- a/sys/dev/sdmmc/ld_sdmmc.c  Thu Oct 02 21:36:37 2014 +0000
+++ b/sys/dev/sdmmc/ld_sdmmc.c  Thu Oct 02 21:49:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld_sdmmc.c,v 1.13 2014/10/02 18:16:13 mlelstv Exp $    */
+/*     $NetBSD: ld_sdmmc.c,v 1.14 2014/10/02 21:49:22 jmcneill Exp $   */
 
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_sdmmc.c,v 1.13 2014/10/02 18:16:13 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_sdmmc.c,v 1.14 2014/10/02 21:49:22 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -52,7 +52,7 @@
 
 #include <dev/sdmmc/sdmmcvar.h>
 
-#ifdef SDMMC_DEBUG
+#ifdef LD_SDMMC_DEBUG
 #define DPRINTF(s)     printf s
 #else
 #define DPRINTF(s)     /**/



Home | Main Index | Thread Index | Old Index