Module Name: src
Committed By: jakllsch
Date: Wed Mar 6 19:16:53 UTC 2019
Modified Files:
src/sys/arch/arm/sunxi: sun6i_dma.c
Log Message:
Hint more strongly that "#if maybenever" is also "#if notyet".
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/sunxi/sun6i_dma.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/arch/arm/sunxi/sun6i_dma.c
diff -u src/sys/arch/arm/sunxi/sun6i_dma.c:1.8 src/sys/arch/arm/sunxi/sun6i_dma.c:1.9
--- src/sys/arch/arm/sunxi/sun6i_dma.c:1.8 Sat Mar 2 16:55:13 2019
+++ src/sys/arch/arm/sunxi/sun6i_dma.c Wed Mar 6 19:16:53 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: sun6i_dma.c,v 1.8 2019/03/02 16:55:13 jakllsch Exp $ */
+/* $NetBSD: sun6i_dma.c,v 1.9 2019/03/06 19:16:53 jakllsch Exp $ */
/*-
* Copyright (c) 2014-2017 Jared McNeill <[email protected]>
@@ -29,7 +29,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun6i_dma.c,v 1.8 2019/03/02 16:55:13 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun6i_dma.c,v 1.9 2019/03/06 19:16:53 jakllsch Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -335,7 +335,7 @@ sun6idma_transfer(device_t dev, void *pr
desc[j].dma_next = htole32(DMA_NULL);
}
-#if maybenever
+#if notyet && maybenever
DMA_WRITE(sc, DMA_MODE_REG(ch->ch_index),
DMA_MODE_DST(MODE_HANDSHAKE)|DMA_MODE_SRC(MODE_HANDSHAKE));
#endif