From owner-freebsd-arch@FreeBSD.ORG Mon Jun 30 06:59:42 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA2D837B401 for ; Mon, 30 Jun 2003 06:59:42 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF9743FDF for ; Mon, 30 Jun 2003 06:59:41 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h5UDxfwV002179 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 30 Jun 2003 09:59:41 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h5UDxaB08432; Mon, 30 Jun 2003 09:59:36 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16128.16968.114031.709885@grasshopper.cs.duke.edu> Date: Mon, 30 Jun 2003 09:59:36 -0400 (EDT) To: "Justin T. Gibbs" In-Reply-To: <721230000.1056753126@aslan.btc.adaptec.com> References: <3EF3C12F.9060303@btc.adaptec.com> <16124.39930.142492.356163@grasshopper.cs.duke.edu> <3EFC9F2D.6020908@btc.adaptec.com> <16124.43999.333761.397624@grasshopper.cs.duke.edu> <3EFCAC7A.6060305@btc.adaptec.com> <16124.45051.919899.414795@grasshopper.cs.duke.edu> <3EFCB178.9030207@btc.adaptec.com> <16124.46454.595892.860118@grasshopper.cs.duke.edu> <3EFCB725.4060902@btc.adaptec.com> <16124.48285.343025.428957@grasshopper.cs.duke.edu> <721230000.1056753126@aslan.btc.adaptec.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-arch@freebsd.org Subject: Re: API change for bus_dma X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 13:59:43 -0000 Justin T. Gibbs writes: > > > As I understand it, it is possible to set the pycho bridge to use > > > a coherent address range, but FreeBSD doesn't take advantage of that > > > yet. > > > > > > > Yes, that's what solaris does.. > > We added BUS_DMA_COHERENT to the API just before shipping 5.1. It > is only a "hint", so if you need to verify that the implementation > was able to give you coherent memory, we should add an API to allow > you to know. Of course, the Sparc bus dma implementation doesn't honor > the flag yet, but I'm sure that will change shortly. > Thanks Justin! Drew