aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorDerek Kozel <derek.kozel@ettus.com>2016-07-28 18:14:20 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-09 10:21:53 -0700
commitf360059b99d4ae11e5279b8999364ec1fe2997a3 (patch)
tree04b46481c368569ff1aeb3c1d7ff2a411a7f27bc /host/include
parent8607cf96932120bab3d4775ff297801add6403a0 (diff)
downloaduhd-f360059b99d4ae11e5279b8999364ec1fe2997a3.tar.gz
uhd-f360059b99d4ae11e5279b8999364ec1fe2997a3.tar.bz2
uhd-f360059b99d4ae11e5279b8999364ec1fe2997a3.zip
dboard manager: Allow deferring dboard initialization
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard_manager.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/usrp/dboard_manager.hpp b/host/include/uhd/usrp/dboard_manager.hpp
index 4ce943972..85fa65e81 100644
--- a/host/include/uhd/usrp/dboard_manager.hpp
+++ b/host/include/uhd/usrp/dboard_manager.hpp
@@ -124,6 +124,7 @@ public:
* \param gdboard_id the id of the grand-dboard
* \param iface the custom dboard interface
* \param subtree the subtree to load with props
+ * \param bool defer initialising the daughterboards
* \return an sptr to the new dboard manager
*/
static sptr make(
@@ -131,12 +132,18 @@ public:
dboard_id_t tx_dboard_id,
dboard_id_t gdboard_id,
dboard_iface::sptr iface,
- property_tree::sptr subtree
+ property_tree::sptr subtree,
+ bool defer_db_init = false
);
virtual ~dboard_manager() {}
/*!
+ * Run dboard post constructor initializations if defered during make
+ */
+ virtual void initialize_dboards() = 0;
+
+ /*!
* Returns a vector of RX frontend (subdev) names
* \return a vector of names
*/