correct use of bus_dmamap_sync

Dinesh Nair dinesh at alphaque.com
Wed Oct 26 13:00:55 PDT 2005


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


More information about the freebsd-hackers mailing list