Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom Get rid of _BUS_DMAMAP_MEM_XLATE



details:   https://anonhg.NetBSD.org/src/rev/75c7697696d5
branches:  trunk
changeset: 784391:75c7697696d5
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 27 17:44:39 2013 +0000

description:
Get rid of _BUS_DMAMAP_MEM_XLATE

diffstat:

 sys/arch/arm/broadcom/bcm2835_obio.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6fbb9cf4b645 -r 75c7697696d5 sys/arch/arm/broadcom/bcm2835_obio.c
--- a/sys/arch/arm/broadcom/bcm2835_obio.c      Sun Jan 27 17:43:20 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_obio.c      Sun Jan 27 17:44:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_obio.c,v 1.14 2013/01/27 17:38:55 matt Exp $   */
+/*     $NetBSD: bcm2835_obio.c,v 1.15 2013/01/27 17:44:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.14 2013/01/27 17:38:55 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_obio.c,v 1.15 2013/01/27 17:44:39 matt Exp $");
 
 #include "locators.h"
 #include "obio.h"
@@ -183,7 +183,6 @@
        sc->sc_dmarange.dr_sysbase = 0;
        sc->sc_dmarange.dr_busbase = BCM2835_BUSADDR_CACHE_COHERENT;
        sc->sc_dmarange.dr_len = physmem * PAGE_SIZE;
-       sc->sc_dmarange.dr_flags = _BUS_DMAMAP_MEM_XLATE;
        bcm2835_bus_dma_tag._ranges = &sc->sc_dmarange;
        bcm2835_bus_dma_tag._nranges = 1;
 



Home | Main Index | Thread Index | Old Index