Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc Print error if couldn't enable card.
details: https://anonhg.NetBSD.org/src/rev/813309957b85
branches: trunk
changeset: 773060:813309957b85
user: matt <matt%NetBSD.org@localhost>
date: Thu Jan 26 02:20:12 2012 +0000
description:
Print error if couldn't enable card.
diffstat:
sys/dev/sdmmc/sdmmc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e3ba41d24015 -r 813309957b85 sys/dev/sdmmc/sdmmc.c
--- a/sys/dev/sdmmc/sdmmc.c Thu Jan 26 02:14:08 2012 +0000
+++ b/sys/dev/sdmmc/sdmmc.c Thu Jan 26 02:20:12 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmc.c,v 1.10 2012/01/21 19:44:31 nonaka Exp $ */
+/* $NetBSD: sdmmc.c,v 1.11 2012/01/26 02:20:12 matt Exp $ */
/* $OpenBSD: sdmmc.c,v 1.18 2009/01/09 10:58:38 jsg Exp $ */
/*
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc.c,v 1.10 2012/01/21 19:44:31 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc.c,v 1.11 2012/01/26 02:20:12 matt Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -346,7 +346,7 @@
error = sdmmc_enable(sc);
if (error) {
if (!ISSET(sc->sc_caps, SMC_CAPS_POLL_CARD_DET)) {
- aprint_error_dev(sc->sc_dev, "couldn't enable card\n");
+ aprint_error_dev(sc->sc_dev, "couldn't enable card: %d\n", error);
}
goto err;
}
Home |
Main Index |
Thread Index |
Old Index