Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Hint more strongly that "#if maybenever" ...



details:   https://anonhg.NetBSD.org/src/rev/b356ca6b0414
branches:  trunk
changeset: 839790:b356ca6b0414
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed Mar 06 19:16:53 2019 +0000

description:
Hint more strongly that "#if maybenever" is also "#if notyet".

diffstat:

 sys/arch/arm/sunxi/sun6i_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9bb19d66c5f8 -r b356ca6b0414 sys/arch/arm/sunxi/sun6i_dma.c
--- a/sys/arch/arm/sunxi/sun6i_dma.c    Wed Mar 06 19:09:36 2019 +0000
+++ b/sys/arch/arm/sunxi/sun6i_dma.c    Wed Mar 06 19:16:53 2019 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index