Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc Fix error message. No functional change, both ...
details: https://anonhg.NetBSD.org/src/rev/e139d975549c
branches: trunk
changeset: 955931:e139d975549c
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sat Oct 17 09:36:45 2020 +0000
description:
Fix error message. No functional change, both commands use the same
bit to select read or write mode.
diffstat:
sys/dev/sdmmc/sdmmc_io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8f80d1ce5dba -r e139d975549c sys/dev/sdmmc/sdmmc_io.c
--- a/sys/dev/sdmmc/sdmmc_io.c Sat Oct 17 09:20:33 2020 +0000
+++ b/sys/dev/sdmmc/sdmmc_io.c Sat Oct 17 09:36:45 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmc_io.c,v 1.20 2020/05/24 17:26:18 riastradh Exp $ */
+/* $NetBSD: sdmmc_io.c,v 1.21 2020/10/17 09:36:45 mlelstv Exp $ */
/* $OpenBSD: sdmmc_io.c,v 1.10 2007/09/17 01:33:33 krw Exp $ */
/*
@@ -20,7 +20,7 @@
/* Routines for SD I/O cards. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdmmc_io.c,v 1.20 2020/05/24 17:26:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdmmc_io.c,v 1.21 2020/10/17 09:36:45 mlelstv Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -375,7 +375,7 @@
device_printf(sc->sc_dev,
"direct I/O error %d, r=%d p=%p %s\n",
error, reg, datap,
- ISSET(arg, SD_ARG_CMD53_WRITE) ? "write" : "read");
+ ISSET(arg, SD_ARG_CMD52_WRITE) ? "write" : "read");
}
return error;
Home |
Main Index |
Thread Index |
Old Index