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 DMA boundary field shift and mask.
details: https://anonhg.NetBSD.org/src/rev/7b05ec125cc0
branches: trunk
changeset: 780122:7b05ec125cc0
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Jul 12 16:34:30 2012 +0000
description:
Add DMA boundary field shift and mask.
diffstat:
sys/dev/sdmmc/sdhcreg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 619146553dc8 -r 7b05ec125cc0 sys/dev/sdmmc/sdhcreg.h
--- a/sys/dev/sdmmc/sdhcreg.h Thu Jul 12 16:32:34 2012 +0000
+++ b/sys/dev/sdmmc/sdhcreg.h Thu Jul 12 16:34:30 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdhcreg.h,v 1.6 2012/03/02 18:20:34 nonaka Exp $ */
+/* $NetBSD: sdhcreg.h,v 1.7 2012/07/12 16:34:30 jakllsch Exp $ */
/* $OpenBSD: sdhcreg.h,v 1.4 2006/07/30 17:20:40 fgsch Exp $ */
/*
@@ -23,6 +23,8 @@
/* Host standard register set */
#define SDHC_DMA_ADDR 0x00
#define SDHC_BLOCK_SIZE 0x04
+#define SDHC_DMA_BOUNDARY_SHIFT 12
+#define SDHC_DMA_BOUNDARY_MASK 0x7
#define SDHC_BLOCK_COUNT 0x06
#define SDHC_BLOCK_COUNT_MAX 512
#define SDHC_ARGUMENT 0x08
Home |
Main Index |
Thread Index |
Old Index