]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user
authorMarius Strobl <marius@FreeBSD.org>
Thu, 19 Jul 2012 14:43:46 +0000 (14:43 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Thu, 19 Jul 2012 14:43:46 +0000 (14:43 +0000)
commit6d36859855388971556bef07e4977216f1ab2cf7
treee4657e4855e24a69ef0d1669858e6bc2df114957
parent5cb470c830d6d7dfb71bb3d235ff6309e2cfcb0c
Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user
data introduced in r236061. Using that flag doesn't make that much
sense on this case as the DMA maps using it are also created during
sym_pci_attach(). Moreover, due to the maxsegsz parameter used, doing
so may exhaust the bounce pages pool on architectures requiring
bounce pages. [1]
While at it, use a slightly more appropriate maxsegsz parameter.

PR: 169526
Submitted by: Mike Watters [1]
MFC after: 3 days
sys/dev/sym/sym_hipd.c