aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-04 20:38:25 -0700
committerJosh Blum <josh@joshknows.com>2010-11-04 20:38:25 -0700
commitfcf9f6ba329df2538286aabe20dd26628fc4ab43 (patch)
treee59345a0e9513ae7595a79602b4a688343541089 /host/lib/usrp/usrp2/usrp2_iface.cpp
parent7c36bc7b7456225f613887a2b84ebefac2b1c208 (diff)
downloaduhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.tar.gz
uhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.tar.bz2
uhd-fcf9f6ba329df2538286aabe20dd26628fc4ab43.zip
usrp2: move mboard eeprom instance into iface to the clock control can access it
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index 2d450bfc6..eb2685efa 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -28,6 +28,7 @@
#include <algorithm>
using namespace uhd;
+using namespace uhd::usrp;
using namespace uhd::transport;
/*!
@@ -58,6 +59,8 @@ public:
"The fpga build is not compatible with the host code build."
) % int(USRP2_FPGA_COMPAT_NUM) % fpga_compat_num));
}
+
+ mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_NXXX);
}
~usrp2_iface_impl(void){