aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_prop_tree.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp
index a087b02dd..9f6fdd1a3 100644
--- a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp
+++ b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp
@@ -94,16 +94,20 @@ void mpmd_impl::init_property_tree(
/*** Device info ****************************************************/
if (not tree->exists("/name")) {
tree->create<std::string>("/name")
- .set(mb->device_info.get("name", "Unknown MPM device"))
+ .set(mb->device_info.get("description", "Unknown MPM device"))
;
}
tree->create<std::string>(mb_path / "name")
- .set(mb->device_info.get("type", "UNKNOWN"));
+ .set(mb->device_info.get("name", "UNKNOWN"));
tree->create<std::string>(mb_path / "serial")
.set(mb->device_info.get("serial", "n/a"));
tree->create<std::string>(mb_path / "connection")
.set(mb->device_info.get("connection", "UNKNOWN"));
tree->create<size_t>(mb_path / "link_max_rate").set(1e9 / 8);
+ tree->create<std::string>(mb_path / "mpm_version")
+ .set(mb->device_info.get("mpm_version", "UNKNOWN"));
+ tree->create<std::string>(mb_path / "fpga_version")
+ .set(mb->device_info.get("fpga_version", "UNKNOWN"));
/*** Clocking *******************************************************/
tree->create<std::string>(mb_path / "clock_source/value")