summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-14 14:45:59 -0700
committerJosh Blum <josh@joshknows.com>2010-08-14 14:45:59 -0700
commitf0960e79489c6702d3bd79c40f9e24f2b9e5b42d (patch)
tree4de0d8c492fd2fac83684fc4a766891bc3c37157 /host/lib/usrp/usrp2
parent6d2899d18661e4cec5ae90692e08404ea48bc112 (diff)
downloaduhd-f0960e79489c6702d3bd79c40f9e24f2b9e5b42d.tar.gz
uhd-f0960e79489c6702d3bd79c40f9e24f2b9e5b42d.tar.bz2
uhd-f0960e79489c6702d3bd79c40f9e24f2b9e5b42d.zip
usrp: replaced mboard name with special props for dboard iface
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/dboard_iface.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/dboard_iface.cpp b/host/lib/usrp/usrp2/dboard_iface.cpp
index 1b9a4bb97..8bded1ea3 100644
--- a/host/lib/usrp/usrp2/dboard_iface.cpp
+++ b/host/lib/usrp/usrp2/dboard_iface.cpp
@@ -37,7 +37,12 @@ public:
usrp2_dboard_iface(usrp2_iface::sptr iface, usrp2_clock_ctrl::sptr clock_ctrl);
~usrp2_dboard_iface(void);
- std::string get_mboard_name(void){return "usrp2";}
+ special_props_t get_special_props(void){
+ special_props_t props;
+ props.soft_clock_divider = false;
+ props.mangle_i2c_addrs = false;
+ return props;
+ }
void write_aux_dac(unit_t, aux_dac_t, float);
float read_aux_adc(unit_t, aux_adc_t);