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 typo. use pmask for SDHC_PRESENT_STATE.
details: https://anonhg.NetBSD.org/src/rev/57f3e4cf54a4
branches: trunk
changeset: 342567:57f3e4cf54a4
user: ryo <ryo%NetBSD.org@localhost>
date: Mon Dec 28 16:47:11 2015 +0000
description:
fix typo. use pmask for SDHC_PRESENT_STATE.
diffstat:
sys/dev/sdmmc/sdhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1427ab215f28 -r 57f3e4cf54a4 sys/dev/sdmmc/sdhc.c
--- a/sys/dev/sdmmc/sdhc.c Mon Dec 28 11:03:36 2015 +0000
+++ b/sys/dev/sdmmc/sdhc.c Mon Dec 28 16:47:11 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhc.c,v 1.91 2015/11/03 07:59:29 mlelstv Exp $ */
+/* $NetBSD: sdhc.c,v 1.92 2015/12/28 16:47:11 ryo 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.91 2015/11/03 07:59:29 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.92 2015/12/28 16:47:11 ryo Exp $");
#ifdef _KERNEL_OPT
#include "opt_sdmmc.h"
@@ -1832,7 +1832,7 @@
KASSERT(HREAD2(hp, SDHC_NINTR_SIGNAL_EN) & SDHC_TRANSFER_COMPLETE);
while (datalen > 0) {
- if (!ISSET(HREAD4(hp, SDHC_PRESENT_STATE), imask)) {
+ if (!ISSET(HREAD4(hp, SDHC_PRESENT_STATE), pmask)) {
if (ISSET(hp->sc->sc_flags, SDHC_FLAG_32BIT_ACCESS)) {
HSET4(hp, SDHC_NINTR_SIGNAL_EN, imask);
} else {
Home |
Main Index |
Thread Index |
Old Index