Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 03:57:49 +0800
From:      Dinesh Nair <dinesh@alphaque.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: correct use of bus_dmamap_sync
Message-ID:  <435FDFBD.3000506@alphaque.com>
In-Reply-To: <200510261320.16175.jhb@freebsd.org>
References:  <435E3003.4050609@alphaque.com> <200510251610.53127.jhb@freebsd.org> <435F1E77.30007@alphaque.com> <200510261320.16175.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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                                                              |
+=========================================================================+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435FDFBD.3000506>