Module Name: src Committed By: ryo Date: Mon Dec 28 16:47:11 UTC 2015
Modified Files: src/sys/dev/sdmmc: sdhc.c Log Message: fix typo. use pmask for SDHC_PRESENT_STATE. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/dev/sdmmc/sdhc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/sdmmc/sdhc.c diff -u src/sys/dev/sdmmc/sdhc.c:1.91 src/sys/dev/sdmmc/sdhc.c:1.92 --- src/sys/dev/sdmmc/sdhc.c:1.91 Tue Nov 3 07:59:29 2015 +++ src/sys/dev/sdmmc/sdhc.c Mon Dec 28 16:47:11 2015 @@ -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 @@ sdhc_transfer_data_pio(struct sdhc_host 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 {