diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-09-30 14:53:35 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-02-16 16:19:01 -0800 |
commit | b26380043719712ef55694076f66bb9429229ef4 (patch) | |
tree | 1b1ec471e64f6a1178199a7b8d23c4b3a06ea3e7 /host/lib/usrp/e100/e100_impl.cpp | |
parent | 1fd73de7d40459f231c969f27ef63dc62f2b5e82 (diff) | |
download | uhd-b26380043719712ef55694076f66bb9429229ef4.tar.gz uhd-b26380043719712ef55694076f66bb9429229ef4.tar.bz2 uhd-b26380043719712ef55694076f66bb9429229ef4.zip |
dboard: Added restricted dboard registration capability
- Moved dboard iface initialization to dboard_manager
- Added a restricted register function. Restricted dboards
don't expose their control iface in the property tree
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.cpp')
-rw-r--r-- | host/lib/usrp/e100/e100_impl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/usrp/e100/e100_impl.cpp b/host/lib/usrp/e100/e100_impl.cpp index 0218e375d..1f8fe84cb 100644 --- a/host/lib/usrp/e100/e100_impl.cpp +++ b/host/lib/usrp/e100/e100_impl.cpp @@ -426,11 +426,10 @@ e100_impl::e100_impl(const uhd::device_addr_t &device_addr){ .add_coerced_subscriber(boost::bind(&e100_impl::set_db_eeprom, this, "gdb", _1)); //create a new dboard interface and manager - _dboard_iface = make_e100_dboard_iface(_fifo_ctrl, _fpga_i2c_ctrl, _fifo_ctrl/*spi*/, _clock_ctrl, _codec_ctrl); - _tree->create<dboard_iface::sptr>(mb_path / "dboards/A/iface").set(_dboard_iface); _dboard_manager = dboard_manager::make( rx_db_eeprom.id, tx_db_eeprom.id, gdb_eeprom.id, - _dboard_iface, _tree->subtree(mb_path / "dboards/A") + make_e100_dboard_iface(_fifo_ctrl, _fpga_i2c_ctrl, _fifo_ctrl/*spi*/, _clock_ctrl, _codec_ctrl), + _tree->subtree(mb_path / "dboards/A") ); //bind frontend corrections to the dboard freq props |