aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_zero_copy.cpp
diff options
context:
space:
mode:
authorThomas Tsou <ttsou@vt.edu>2010-08-27 23:46:16 -0700
committerThomas Tsou <ttsou@vt.edu>2010-08-28 00:18:46 -0700
commitad55e25aeb273fb7278c6d5175cd0df01fc90924 (patch)
tree0af72be0bfa69df5a8bae07b5e2c337bec707ef0 /host/lib/transport/libusb1_zero_copy.cpp
parent2c85b17215fbe5fd2f80a8c6d0c47504a631c09b (diff)
downloaduhd-ad55e25aeb273fb7278c6d5175cd0df01fc90924.tar.gz
uhd-ad55e25aeb273fb7278c6d5175cd0df01fc90924.tar.bz2
uhd-ad55e25aeb273fb7278c6d5175cd0df01fc90924.zip
usrp1: Additional comments on libusb transport implemenation
Diffstat (limited to 'host/lib/transport/libusb1_zero_copy.cpp')
-rw-r--r--host/lib/transport/libusb1_zero_copy.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp
index 518b8baf0..b890a87f9 100644
--- a/host/lib/transport/libusb1_zero_copy.cpp
+++ b/host/lib/transport/libusb1_zero_copy.cpp
@@ -30,9 +30,11 @@ const int libusb_timeout = 0;
/***********************************************************************
* Helper functions
- *
- * Print to stdout the values of a libusb_transfer struct
***********************************************************************/
+/*
+ * Print the values of a libusb_transfer struct
+ * http://libusb.sourceforge.net/api-1.0/structlibusb__transfer.html
+ */
void pp_transfer(libusb_transfer *lut)
{
std::cout << "Libusb transfer" << std::endl;
@@ -46,7 +48,7 @@ void pp_transfer(libusb_transfer *lut)
}
/***********************************************************************
- * USB asynchronous phony zero_copy endpoint
+ * USB asynchronous zero_copy endpoint
* This endpoint implementation provides asynchronous I/O to libusb-1.0
* devices. Each endpoint is directional and two can be combined to
* create a bidirectional interface. It is a zero copy implementation