]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
busdma/bounce: revert r292255
authorRoger Pau Monné <royger@FreeBSD.org>
Fri, 15 Apr 2016 09:21:50 +0000 (09:21 +0000)
committerRoger Pau Monné <royger@FreeBSD.org>
Fri, 15 Apr 2016 09:21:50 +0000 (09:21 +0000)
commit9b44287ce57e5541baee7a6960fcdc5cc95e601a
tree3c2361d5fd33b34dab73db05cdbe36914ab5a382
parent16952e289fd52b5b717580723e4773f98e31a125
busdma/bounce: revert r292255

Revert r292255 because it can create bounced regions without contiguous
page offsets, which is needed for USB devices.

Another solution would be to force bouncing the full buffer always (even
when only one page requires bouncing), but this seems overly complicated and
unnecessary, and it will probably involve using more bounce pages than the
current code.

Reported by: phk
sys/x86/x86/busdma_bounce.c