Module Name: src
Committed By: jmcneill
Date: Mon Feb 25 19:28:01 UTC 2019
Modified Files:
src/sys/dev/sdmmc: sdmmcvar.h
Log Message:
Add SCF_NEED_BOUNCE command flag. Can be used by a driver to keep track of
which command(s) need data transfers to go through DMA bounce buffers.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/sdmmc/sdmmcvar.h
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/sdmmcvar.h
diff -u src/sys/dev/sdmmc/sdmmcvar.h:1.29 src/sys/dev/sdmmc/sdmmcvar.h:1.30
--- src/sys/dev/sdmmc/sdmmcvar.h:1.29 Sun Aug 20 15:58:43 2017
+++ src/sys/dev/sdmmc/sdmmcvar.h Mon Feb 25 19:28:00 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: sdmmcvar.h,v 1.29 2017/08/20 15:58:43 mlelstv Exp $ */
+/* $NetBSD: sdmmcvar.h,v 1.30 2019/02/25 19:28:00 jmcneill Exp $ */
/* $OpenBSD: sdmmcvar.h,v 1.13 2009/01/09 10:55:22 jsg Exp $ */
/*
@@ -126,6 +126,7 @@ struct sdmmc_command {
/* Command hints */
#define SCF_XFER_SDHC (1U << 15) /* card is SDHC */
#define SCF_POLL (1U << 16) /* polling required */
+#define SCF_NEED_BOUNCE (1U << 17) /* (driver) transfer requires bounce buffer */
/* response types */
#define SCF_RSP_R0 0 /* none */
#define SCF_RSP_R1 (SCF_RSP_PRESENT|SCF_RSP_CRC|SCF_RSP_IDX)