Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sdmmc Add SCF_NEED_BOUNCE command flag. Can be used ...
details: https://anonhg.NetBSD.org/src/rev/477451e0afb1
branches: trunk
changeset: 449191:477451e0afb1
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Feb 25 19:28:00 2019 +0000
description:
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.
diffstat:
sys/dev/sdmmc/sdmmcvar.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ca6a083926f3 -r 477451e0afb1 sys/dev/sdmmc/sdmmcvar.h
--- a/sys/dev/sdmmc/sdmmcvar.h Mon Feb 25 13:19:14 2019 +0000
+++ b/sys/dev/sdmmc/sdmmcvar.h Mon Feb 25 19:28:00 2019 +0000
@@ -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 @@
/* 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)
Home |
Main Index |
Thread Index |
Old Index