Re: correct use of bus_dmamap_sync

From: Dinesh Nair (dinesh_at_alphaque.com)
Date: 10/26/05

  • Next message: Scott Long: "Re: correct use of bus_dmamap_sync"
    Date: Thu, 27 Oct 2005 03:57:49 +0800
    To: John Baldwin <jhb@freebsd.org>
    
    

    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                                                              |
    +=========================================================================+
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Scott Long: "Re: correct use of bus_dmamap_sync"