aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/device3
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2017-06-14 10:22:25 -0700
committerMartin Braun <martin.braun@ettus.com>2017-06-26 13:23:07 -0700
commit0b403340c3e924b642ba72679a8a1bfa23bbfd4c (patch)
tree4c3b87db1743a96cdd49162eeff671fbc6606c84 /host/lib/usrp/device3
parent2f7f873b7f0299ec1f8ae7c752246cb2f1608c0a (diff)
downloaduhd-0b403340c3e924b642ba72679a8a1bfa23bbfd4c.tar.gz
uhd-0b403340c3e924b642ba72679a8a1bfa23bbfd4c.tar.bz2
uhd-0b403340c3e924b642ba72679a8a1bfa23bbfd4c.zip
X300: Implement single DMA channel for all async messages
Diffstat (limited to 'host/lib/usrp/device3')
-rw-r--r--host/lib/usrp/device3/device3_impl.hpp4
-rw-r--r--host/lib/usrp/device3/device3_io_impl.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/device3/device3_impl.hpp b/host/lib/usrp/device3/device3_impl.hpp
index 22c93f25f..043379108 100644
--- a/host/lib/usrp/device3/device3_impl.hpp
+++ b/host/lib/usrp/device3/device3_impl.hpp
@@ -56,9 +56,9 @@ public:
//! The purpose of a transport
enum xport_type_t {
CTRL = 0,
+ ASYNC_MSG,
TX_DATA,
- RX_DATA,
- ASYNC_TX_MSG
+ RX_DATA
};
enum xport_t {AXI, ETH, PCIE};
diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp
index dc4aacff8..198ee4022 100644
--- a/host/lib/usrp/device3/device3_io_impl.cpp
+++ b/host/lib/usrp/device3/device3_io_impl.cpp
@@ -773,7 +773,7 @@ tx_streamer::sptr device3_impl::get_tx_stream(const uhd::stream_args_t &args_)
uhd::sid_t stream_address = blk_ctrl->get_address(block_port);
UHD_STREAMER_LOG() << "[TX Streamer] creating tx stream " << tx_hints.to_string() << std::endl;
both_xports_t xport = make_transport(stream_address, TX_DATA, tx_hints);
- both_xports_t async_xport = make_transport(stream_address, ASYNC_TX_MSG, device_addr_t(""));
+ both_xports_t async_xport = make_transport(stream_address, ASYNC_MSG, device_addr_t(""));
UHD_STREAMER_LOG() << std::hex << "[TX Streamer] data_sid = " << xport.send_sid << std::dec << std::endl;
// To calculate the max number of samples per packet, we assume the maximum header length