Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Remove some code that snuck in.



details:   https://anonhg.NetBSD.org/src/rev/7aff84bc72bd
branches:  trunk
changeset: 755944:7aff84bc72bd
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jun 30 06:33:52 2010 +0000

description:
Remove some code that snuck in.

diffstat:

 sys/arch/hp700/hp700/mainbus.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 6f17680e6d76 -r 7aff84bc72bd sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c    Wed Jun 30 04:58:42 2010 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c    Wed Jun 30 06:33:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.70 2010/06/01 10:20:29 skrll Exp $       */
+/*     $NetBSD: mainbus.c,v 1.71 2010/06/30 06:33:52 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.70 2010/06/01 10:20:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.71 2010/06/30 06:33:52 skrll Exp $");
 
 #include "locators.h"
 #include "power.h"
@@ -1005,10 +1005,6 @@
                panic("mbus_dmamap_sync: bad length");
 #endif
        
-       /* If the whole DMA map is marked as BUS_DMA_COHERENT, do nothing. */
-       if ((map->_dm_flags & BUS_DMA_COHERENT) != 0)
-               return;
-
        /*
         * For a virtually-indexed write-back cache, we need to do the
         * following things:



Home | Main Index | Thread Index | Old Index