aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-26 22:15:12 -0700
committerJosh Blum <josh@joshknows.com>2010-08-26 22:15:12 -0700
commitc9569736930cf436f340d70c7537a5f46f3ab3aa (patch)
treec663eb9b3554e1f0d699c8af6c5c8ad1ddbb01fd /host/lib/usrp/usrp1/usrp1_impl.hpp
parent7bf409478fe65593d8e4b47dcf682ed35cc2cc45 (diff)
downloaduhd-c9569736930cf436f340d70c7537a5f46f3ab3aa.tar.gz
uhd-c9569736930cf436f340d70c7537a5f46f3ab3aa.tar.bz2
uhd-c9569736930cf436f340d70c7537a5f46f3ab3aa.zip
usrp1: handle special dbsrx clocking case
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.hpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp
index 4b4ac51dd..c2f693eeb 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.hpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.hpp
@@ -25,6 +25,7 @@
#include <uhd/types/otw_type.hpp>
#include <uhd/types/clock_config.hpp>
#include <uhd/types/stream_cmd.hpp>
+#include <uhd/usrp/dboard_id.hpp>
#include <uhd/usrp/subdev_spec.hpp>
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/usrp/dboard_manager.hpp>
@@ -45,8 +46,7 @@ public:
typedef boost::function<void(const wax::obj &, const wax::obj &)> set_t;
typedef boost::shared_ptr<wax_obj_proxy> sptr;
- static sptr make(const get_t &get, const set_t &set)
- {
+ static sptr make(const get_t &get, const set_t &set){
return sptr(new wax_obj_proxy(get, set));
}
@@ -102,13 +102,15 @@ private:
* \param clock the clock control interface
* \param codec the codec control interface
* \param dboard_slot the slot identifier
+ * \param rx_dboard_id the db id for the rx board (used for evil dbsrx purposes)
* \return a sptr to a new dboard interface
*/
static uhd::usrp::dboard_iface::sptr make_dboard_iface(
usrp1_iface::sptr iface,
usrp1_clock_ctrl::sptr clock,
usrp1_codec_ctrl::sptr codec,
- dboard_slot_t dboard_slot
+ dboard_slot_t dboard_slot,
+ const uhd::usrp::dboard_id_t &rx_dboard_id
);
//interface to ioctls and file descriptor