From owner-cvs-src-old@FreeBSD.ORG Thu Mar 4 05:23:33 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67D4F1065741 for ; Thu, 4 Mar 2010 05:23:33 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 55A658FC23 for ; Thu, 4 Mar 2010 05:23:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o245NX5O067502 for ; Thu, 4 Mar 2010 05:23:33 GMT (envelope-from neel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o245NXTQ067501 for cvs-src-old@freebsd.org; Thu, 4 Mar 2010 05:23:33 GMT (envelope-from neel@repoman.freebsd.org) Message-Id: <201003040523.o245NXTQ067501@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to neel@repoman.freebsd.org using -f From: Neel Natu Date: Thu, 4 Mar 2010 05:23:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/include cpuinfo.h src/sys/mips/mips busdma_machdep.c cpu.c src/sys/mips/sibyte sb_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2010 05:23:33 -0000 neel 2010-03-04 05:23:08 UTC FreeBSD src repository Modified files: sys/mips/include cpuinfo.h sys/mips/mips busdma_machdep.c cpu.c sys/mips/sibyte sb_machdep.c Log: SVN rev 204689 on 2010-03-04 05:23:08Z by neel Add support for CPUs with cache coherent DMA. The two main changes are: - We don't need to fall back to uncacheable memory to satisfy BUS_DMA_COHERENT requests on these CPUs. - The bus_dmamap_sync() is a no-op for these CPUs. A side-effect of this change is rename DMAMAP_COHERENT flag to DMAMAP_UNCACHEABLE. This conveys the purpose of the flag more accurately. Reviewed by: gonzo, imp Revision Changes Path 1.3 +3 -0 src/sys/mips/include/cpuinfo.h 1.8 +24 -9 src/sys/mips/mips/busdma_machdep.c 1.4 +1 -1 src/sys/mips/mips/cpu.c 1.7 +7 -0 src/sys/mips/sibyte/sb_machdep.c