bus_dmamap_load_uio and uiomove
Jimmy Olgeni
olgeni at uli.it
Tue May 30 05:49:38 PDT 2006
Hello,
Just quick busdma question...
I'm currently upgrading a custom device driver to use
bus_dmamap_load_uio rather than uiomove. Everything works fine, but
calls to "write" fail unless I set uio->uio_resid to 0 by hand (as I'm
not using uiomove anymore).
Am I supposed to set uio_resid by hand when using bus_dmamap_load_uio,
or is there a better way to signal that all the data in uio was used?
--
jimmy
More information about the freebsd-hackers
mailing list