Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Use "opt_sdmmc.h" for SDHC_DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/69dba7c00217
branches:  trunk
changeset: 773467:69dba7c00217
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Feb 02 22:49:17 2012 +0000

description:
Use "opt_sdmmc.h" for SDHC_DEBUG.

diffstat:

 sys/dev/cardbus/sdhc_cardbus.c |  8 ++++++--
 sys/dev/pci/sdhc_pci.c         |  8 ++++++--
 sys/dev/sdmmc/sdhc.c           |  8 ++++++--
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (66 lines):

diff -r a1840104d5c4 -r 69dba7c00217 sys/dev/cardbus/sdhc_cardbus.c
--- a/sys/dev/cardbus/sdhc_cardbus.c    Thu Feb 02 22:15:04 2012 +0000
+++ b/sys/dev/cardbus/sdhc_cardbus.c    Thu Feb 02 22:49:17 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc_cardbus.c,v 1.3 2011/08/01 11:20:28 drochner Exp $        */
+/*     $NetBSD: sdhc_cardbus.c,v 1.4 2012/02/02 22:49:17 nonaka Exp $  */
 
 /*
  * Copyright (c) 2010 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -26,7 +26,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_cardbus.c,v 1.3 2011/08/01 11:20:28 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_cardbus.c,v 1.4 2012/02/02 22:49:17 nonaka Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_sdmmc.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/device.h>
diff -r a1840104d5c4 -r 69dba7c00217 sys/dev/pci/sdhc_pci.c
--- a/sys/dev/pci/sdhc_pci.c    Thu Feb 02 22:15:04 2012 +0000
+++ b/sys/dev/pci/sdhc_pci.c    Thu Feb 02 22:49:17 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc_pci.c,v 1.5 2012/01/30 19:41:23 drochner Exp $    */
+/*     $NetBSD: sdhc_pci.c,v 1.6 2012/02/02 22:49:17 nonaka Exp $      */
 /*     $OpenBSD: sdhc_pci.c,v 1.7 2007/10/30 18:13:45 chl Exp $        */
 
 /*
@@ -18,7 +18,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.5 2012/01/30 19:41:23 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.6 2012/02/02 22:49:17 nonaka Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_sdmmc.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/device.h>
diff -r a1840104d5c4 -r 69dba7c00217 sys/dev/sdmmc/sdhc.c
--- a/sys/dev/sdmmc/sdhc.c      Thu Feb 02 22:15:04 2012 +0000
+++ b/sys/dev/sdmmc/sdhc.c      Thu Feb 02 22:49:17 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc.c,v 1.9 2011/06/29 06:21:16 matt Exp $    */
+/*     $NetBSD: sdhc.c,v 1.10 2012/02/02 22:49:17 nonaka Exp $ */
 /*     $OpenBSD: sdhc.c,v 1.25 2009/01/13 19:44:20 grange Exp $        */
 
 /*
@@ -23,7 +23,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.9 2011/06/29 06:21:16 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.10 2012/02/02 22:49:17 nonaka Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_sdmmc.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/device.h>



Home | Main Index | Thread Index | Old Index