]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r238621
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 22 Jul 2012 14:32:49 +0000 (14:32 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 22 Jul 2012 14:32:49 +0000 (14:32 +0000)
commita42fa74d3eed0a0a89f3583958fa87fa8311ce5f
tree46a494612a9a23550d1e17015b1d45676b45ed9d
parentf3d36c3069283c59c0feb6e745b25a2a5e7fd08f
MFC: r238621

Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user
data introduced in r236061 (MFC'ed to stable/9 in r237186). 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]
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@238689 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sym/sym_hipd.c