Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sdmmc better error message



details:   https://anonhg.NetBSD.org/src/rev/e05afdb8f6e2
branches:  trunk
changeset: 339682:e05afdb8f6e2
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Mon Aug 03 05:24:37 2015 +0000

description:
better error message

diffstat:

 sys/dev/sdmmc/sdhc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e1327dc5ddbe -r e05afdb8f6e2 sys/dev/sdmmc/sdhc.c
--- a/sys/dev/sdmmc/sdhc.c      Mon Aug 03 04:55:15 2015 +0000
+++ b/sys/dev/sdmmc/sdhc.c      Mon Aug 03 05:24:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc.c,v 1.74 2015/08/03 00:44:52 jmcneill Exp $       */
+/*     $NetBSD: sdhc.c,v 1.75 2015/08/03 05:24:37 mlelstv Exp $        */
 /*     $OpenBSD: sdhc.c,v 1.25 2009/01/13 19:44:20 grange Exp $        */
 
 /*
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.74 2015/08/03 00:44:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.75 2015/08/03 05:24:37 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -1218,8 +1218,8 @@
                        return 0;
                sdmmc_delay(10);
        }
-       aprint_error_dev(hp->sc->sc_dev, "timeout waiting for %x (state=%x)\n",
-           value, state);
+       aprint_error_dev(hp->sc->sc_dev, "timeout waiting for mask %#x value %#x (state=%#x)\n",
+           mask, value, state);
        return ETIMEDOUT;
 }
 



Home | Main Index | Thread Index | Old Index