summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2016-02-20 12:26:12 +0100
committerChris Dickens <christopher.a.dickens@gmail.com>2016-05-29 18:51:04 -0700
commita283c3b5a3dce8f6f33331b9aa1d95d41c8f241c (patch)
tree8251d7c0936e41ef31dfbd1b92ea66b12beb93cb /libusb/version_nano.h
parent0b947e5f9b2dfffa4def7007f4fb5b23fe2eb05f (diff)
downloadlibusb-a283c3b5a3dce8f6f33331b9aa1d95d41c8f241c.tar.gz
Add support for persistent device memory.
Add a function to allocate memory belonging to a specific device, so that the operating system can DMA straight into it for zerocopy, and also avoid some clearing. Also, this allows up-front memory allocation in the kernel at program startup; memory allocation is otherwise done per-transfer, which can fail in a system where memory has become fragmented over time). This mirrors new functionality going into Linux' USB stack (recently reviewed and acked upstream); only Linux is supported as a backend currently. [Chris Dickens] Modified to fix doxygen documentation, correct parameter naming, reposition function declarations, and address a missing request during the patch review process. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index b92475f..5921d74 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11109
+#define LIBUSB_NANO 11110