Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner transfer to TXDATA reg, not DMA irq e...
details: https://anonhg.NetBSD.org/src/rev/0a4542c157e8
branches: trunk
changeset: 332076:0a4542c157e8
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Sep 06 10:36:53 2014 +0000
description:
transfer to TXDATA reg, not DMA irq en reg
diffstat:
sys/arch/arm/allwinner/awin_ac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ba25c2140350 -r 0a4542c157e8 sys/arch/arm/allwinner/awin_ac.c
--- a/sys/arch/arm/allwinner/awin_ac.c Sat Sep 06 01:08:26 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_ac.c Sat Sep 06 10:36:53 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_ac.c,v 1.2 2014/09/06 01:08:26 jmcneill Exp $ */
+/* $NetBSD: awin_ac.c,v 1.3 2014/09/06 10:36:53 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_ac.c,v 1.2 2014/09/06 01:08:26 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_ac.c,v 1.3 2014/09/06 10:36:53 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -385,7 +385,7 @@
}
error = awin_dma_transfer(sc->sc_pdma,
- physsrc, AWIN_CORE_PBASE + AWIN_DMA_OFFSET,
+ physsrc, AWIN_CORE_PBASE + AWIN_AC_OFFSET + AC_DAC_TXDATA,
sc->sc_pblksize);
if (error) {
device_printf(sc->sc_dev, "failed to transfer DMA; error %d\n",
Home |
Main Index |
Thread Index |
Old Index