Reduce the number of intermediate buffers by pre-allocating DMA buffers
authormpi <mpi@openbsd.org>
Thu, 22 Jan 2015 10:27:47 +0000 (10:27 +0000)
committermpi <mpi@openbsd.org>
Thu, 22 Jan 2015 10:27:47 +0000 (10:27 +0000)
commit4f731aad272daa2f3d9eb51ecdfabce8b1271b49
treee34e4e3b1fd7951a3b287504e46de6cdb21b9f49
parentbf6de56e2969b2d8d954725c8f717343b9aa4bf3
Reduce the number of intermediate buffers by pre-allocating DMA buffers
in the report functions instead of letting the stack do it magically for
us.

Reviewed and tested by David Higgs, thanks!
sys/dev/usb/uhidev.c
sys/dev/usb/usbdi.c
sys/dev/usb/usbdi.h