Module Name:    src
Committed By:   skrll
Date:           Wed Jun 30 06:33:52 UTC 2010

Modified Files:
        src/sys/arch/hp700/hp700: mainbus.c

Log Message:
Remove some code that snuck in.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/hp700/hp700/mainbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/hp700/mainbus.c
diff -u src/sys/arch/hp700/hp700/mainbus.c:1.70 src/sys/arch/hp700/hp700/mainbus.c:1.71
--- src/sys/arch/hp700/hp700/mainbus.c:1.70	Tue Jun  1 10:20:29 2010
+++ src/sys/arch/hp700/hp700/mainbus.c	Wed Jun 30 06:33:52 2010
@@ -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:

Reply via email to