Bus DMA question

M. Warner Losh imp at bsdimp.com
Mon Sep 5 19:58:12 PDT 2005


In message: <200509052327.36934.hselasky at c2i.net>
            Hans Petter Selasky <hselasky at c2i.net> writes:
: When one creates a DMA tag for a PCI device, using "bus_dma_tag_create()", I 
: see that most drivers use "NULL" for the parent field, at some point, but 
: shouldn't this field actually point to the DMA tag of the bus where the 
: device is physically attached ?

Should be, but isn't yet.  We need to add an API to the bus_if.m
file.  For now, pass NULL.

Warner


More information about the freebsd-hackers mailing list