]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r240177:
authorscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Jun 2013 20:40:16 +0000 (20:40 +0000)
committerscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Jun 2013 20:40:16 +0000 (20:40 +0000)
commit0d1563cb5a3ce48db275aa5512e6f6c1af155668
tree8c4d291236611f06398ad10fac7b4beb2bf4520c
parent0b40091dfd34d65ef721294393057142d163e4a4
MFC r240177:

Dynamically allocate the S/G lists passed to callback routines rather than
allocating them on the stack of various bus_dmamap_load*() functions.  The
S/G lists are stored in the DMA tags.  This matches the implementation on
all other platforms.

Submitted by: jhb
Approved by: marius, adrian
Obtained from: Netflix

git-svn-id: svn://svn.freebsd.org/base/stable/9@251868 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/busdma_machdep.c
sys/mips/mips/busdma_machdep.c