Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Remove a comment that became largely redu...



details:   https://anonhg.NetBSD.org/src/rev/7f0200d9cb51
branches:  trunk
changeset: 328536:7f0200d9cb51
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 06 09:53:59 2014 +0000

description:
Remove a comment that became largely redundant with the PMAP_NOCACHE
change.

diffstat:

 sys/arch/arm/arm32/bus_dma.c |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (34 lines):

diff -r eed6d3266fbd -r 7f0200d9cb51 sys/arch/arm/arm32/bus_dma.c
--- a/sys/arch/arm/arm32/bus_dma.c      Sun Apr 06 09:26:33 2014 +0000
+++ b/sys/arch/arm/arm32/bus_dma.c      Sun Apr 06 09:53:59 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.84 2014/04/02 12:28:54 matt Exp $        */
+/*     $NetBSD: bus_dma.c,v 1.85 2014/04/06 09:53:59 skrll Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include "opt_arm_bus_space.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.84 2014/04/02 12:28:54 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.85 2014/04/06 09:53:59 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1362,15 +1362,6 @@
 
                        pmap_kenter_pa(va, pa, VM_PROT_READ | VM_PROT_WRITE,
                            PMAP_WIRED | (uncached ? PMAP_NOCACHE : 0));
-
-                       /*
-                        * If the memory must remain coherent with the
-                        * cache then we must make the memory uncacheable
-                        * in order to maintain virtual cache coherency.
-                        * We must also guarantee the cache does not already
-                        * contain the virtal addresses we are making
-                        * uncacheable.
-                        */
                }
        }
        pmap_update(pmap_kernel());



Home | Main Index | Thread Index | Old Index