diff options
author | Josh Blum <josh@joshknows.com> | 2013-07-19 13:29:50 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-07-19 13:29:50 -0700 |
commit | 7c9a4a5a41bb981dd4db66e7b479e4e66d488fa5 (patch) | |
tree | 405402c1c44a9ba2cfac14031815ccf18c3ab34a /host/include | |
parent | e7642d44d5fb0a168c1da620e3463c68e4df68f9 (diff) | |
download | uhd-7c9a4a5a41bb981dd4db66e7b479e4e66d488fa5.tar.gz uhd-7c9a4a5a41bb981dd4db66e7b479e4e66d488fa5.tar.bz2 uhd-7c9a4a5a41bb981dd4db66e7b479e4e66d488fa5.zip |
b100: moved usb wrapper class into b100 impl
* since its only used internally in b100
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/usb_zero_copy.hpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/host/include/uhd/transport/usb_zero_copy.hpp b/host/include/uhd/transport/usb_zero_copy.hpp index 24b709ec9..3990568c3 100644 --- a/host/include/uhd/transport/usb_zero_copy.hpp +++ b/host/include/uhd/transport/usb_zero_copy.hpp @@ -1,5 +1,5 @@ // -// Copyright 2010-2011 Ettus Research LLC +// Copyright 2010-2013 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -61,24 +61,6 @@ public: const size_t send_endpoint, const device_addr_t &hints = device_addr_t() ); - - /*! - * Make a wrapper around a zero copy implementation. - * The wrapper performs the following functions: - * - Pad commits to the frame boundary - * - Extract multiple packets on recv - * - * When enable multiple receive packets is set to true, - * the implementation inspects the vita length on transfers, - * and may split a single transfer into multiple managed buffers. - * - * \param usb_zc a usb zero copy interface object - * \param usb_frame_boundary bytes per frame - * \return a new zero copy wrapper object - */ - static sptr make_wrapper( - sptr usb_zc, size_t usb_frame_boundary = 512 - ); }; }} //namespace |