The correct place to call _bus_dmamap_sync() is after we copy data *to* the
authorkettenis <kettenis@openbsd.org>
Sun, 13 Jul 2014 21:51:12 +0000 (21:51 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 13 Jul 2014 21:51:12 +0000 (21:51 +0000)
commita6f2bb0d28c6cb4b05c7b736b521b6547becaaa9
treebf6d216fa152029fe4024a7af20de86a1c1039a8
parent8ef0745a996bf1b46867ec9b388433f8d28758f7
The correct place to call _bus_dmamap_sync() is after we copy data *to* the
bounce buffer and before we copy data *from* the bounce buffer.  Currently
_bus_dmamap_sync() is a no-op, but keeping it #ifdef'ed out in the wrong
place makes no sense.

ok deraadt@, miod@
sys/arch/amd64/isa/isa_machdep.c
sys/arch/i386/isa/isa_machdep.c