From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 26 20:00:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8BBB16A41F for ; Wed, 26 Oct 2005 20:00:55 +0000 (GMT) (envelope-from dinesh@alphaque.com) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 8014843D45 for ; Wed, 26 Oct 2005 20:00:54 +0000 (GMT) (envelope-from dinesh@alphaque.com) Received: (qmail 81459 invoked by uid 0); 26 Oct 2005 20:00:52 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 26 Oct 2005 20:00:52 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by prophet.alphaque.com (8.13.4/8.13.4) with ESMTP id j9QJvovp001930; Thu, 27 Oct 2005 03:57:50 +0800 (MYT) (envelope-from dinesh@alphaque.com) Message-ID: <435FDFBD.3000506@alphaque.com> Date: Thu, 27 Oct 2005 03:57:49 +0800 From: Dinesh Nair User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b) Gecko/20050915 MIME-Version: 1.0 To: John Baldwin References: <435E3003.4050609@alphaque.com> <200510251610.53127.jhb@freebsd.org> <435F1E77.30007@alphaque.com> <200510261320.16175.jhb@freebsd.org> In-Reply-To: <200510261320.16175.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: correct use of bus_dmamap_sync X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 20:00:55 -0000 On 10/27/05 01:20 John Baldwin said the following: > On i386, yes. It won't on sparc64 when using an IOMMU for example. The whole > point of using bus_dma is to not use vtophys() since by doing that you are righto, so for platform portability, we'd still need to use it there though. > Yes, that is fugly. Just don't use the | versions for now I would guess. which would mean than backporting stuff from 5.x would need to be double checked for | usage. >>is this reasoning correct ? > Yes. excellent, thanx jhb. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+