[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: bus_dmamap_load_uio and uiomove
From: Jimmy Olgeni <olgeni () uli ! it>
Date: 2006-05-30 12:49:22
Message-ID: 20060530143518.C36362 () server ! localdomain ! net
[Download RAW message or body]
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
_______________________________________________
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"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic