From owner-cvs-all@FreeBSD.ORG Fri May 30 13:40:34 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9175F37B401; Fri, 30 May 2003 13:40:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FF1443FAF; Fri, 30 May 2003 13:40:34 -0700 (PDT) (envelope-from hmp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4UKeY0U069284; Fri, 30 May 2003 13:40:34 -0700 (PDT) (envelope-from hmp@repoman.freebsd.org) Received: (from hmp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4UKeX49069283; Fri, 30 May 2003 13:40:33 -0700 (PDT) Message-Id: <200305302040.h4UKeX49069283@repoman.freebsd.org> From: Hiten Pandya Date: Fri, 30 May 2003 13:40:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/include bus.h src/sys/amd64/include bus_dma.h src/sys/i386/include bus_dma.h src/sys/i4b/layer1/itjc i4b_itjc_pci.c src/sys/ia64/include bus.h src/sys/sparc64/include bus.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 20:40:35 -0000 hmp 2003/05/30 13:40:33 PDT FreeBSD src repository (doc committer) Modified files: sys/alpha/include bus.h sys/amd64/include bus_dma.h sys/i386/include bus_dma.h sys/i4b/layer1/itjc i4b_itjc_pci.c sys/ia64/include bus.h sys/sparc64/include bus.h Log: Rename BUS_DMAMEM_NOSYNC to BUS_DMA_COHERENT. The current name is confusing, because it indicates to the client that a bus_dmamap_sync() operation is not necessary when the flag is specified, which is wrong. The main purpose of this flag is to hint the underlying architecture that DMA memory should be mapped in a coherent way, but the architecture can ignore it. But if the architecture does supports coherent mapping of memory, then it makes bus_dmamap_sync() calls cheap. This flag is the same as the one in NetBSD's Bus DMA. Reviewed by: gibbs, scottl, des (implicitly) Approved by: re@ (jhb) Revision Changes Path 1.21 +1 -1 src/sys/alpha/include/bus.h 1.22 +1 -1 src/sys/amd64/include/bus_dma.h 1.21 +1 -1 src/sys/i386/include/bus_dma.h 1.7 +2 -2 src/sys/i4b/layer1/itjc/i4b_itjc_pci.c 1.12 +1 -1 src/sys/ia64/include/bus.h 1.26 +1 -2 src/sys/sparc64/include/bus.h