DragonFly-2.3.1.162.g6eed46 master sys/platform/pc32/i386 busdma_machdep.c sys/platform/pc64/amd64 busdma_machdep.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jun 4 11:27:04 PDT 2009
commit 6eed46e7fc815d4961ef5a4e274c13c3d98b0ce7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jun 4 11:10:20 2009 -0700
bus_dma_tag fixes and enhancements.
* Protect the cached segment list in the bus_dma_tag structure
with a spinlock.
* Cache up to 8 segments on the stack when applicable (needs more work).
* Add function call bus_dma_tag_getmaxsize() to access the maxsize field
in the tag.
* Fix a bug in bus_dmamap_load_uio() which did not properly append segments
when the uio has more then one iov. (untested).
Summary of changes:
sys/platform/pc32/i386/busdma_machdep.c | 96 ++++++++++++++++++++++++++----
sys/platform/pc64/amd64/busdma_machdep.c | 75 ++++++++++++++++++++---
2 files changed, 150 insertions(+), 21 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6eed46e7fc815d4961ef5a4e274c13c3d98b0ce7
--
DragonFly BSD source repository
More information about the Commits
mailing list