aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/mboard_impl.cpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-20 18:31:31 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-20 18:31:31 -0700
commit2f6ab109231667ee255d2ba7cba34a0519019dc9 (patch)
treec140c53c6af5624bcc4262245bf88c9d1d24ddba /host/lib/usrp/usrp2/mboard_impl.cpp
parentb09c15921d692ed0e14365c25701acafcf20bf75 (diff)
downloaduhd-2f6ab109231667ee255d2ba7cba34a0519019dc9.tar.gz
uhd-2f6ab109231667ee255d2ba7cba34a0519019dc9.tar.bz2
uhd-2f6ab109231667ee255d2ba7cba34a0519019dc9.zip
Moved mboard rev detection to iface.cpp.
This fixes the incorrect FPGA compat number readback bug. We were trying to read before the register set had been loaded.
Diffstat (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp
index 3a7048cdd..805fd23db 100644
--- a/host/lib/usrp/usrp2/mboard_impl.cpp
+++ b/host/lib/usrp/usrp2/mboard_impl.cpp
@@ -48,10 +48,6 @@ usrp2_mboard_impl::usrp2_mboard_impl(
{
//make a new interface for usrp2 stuff
_iface = usrp2_iface::make(ctrl_transport);
-
- //extract the mboard rev numbers
- byte_vector_t rev_bytes = _iface->read_eeprom(USRP2_I2C_ADDR_MBOARD, USRP2_EE_MBOARD_REV, 2);
- _iface->set_hw_rev(mboard_rev_t::from_uint16(rev_bytes.at(0) | (rev_bytes.at(1) << 8)));
//contruct the interfaces to mboard perifs
_clock_ctrl = usrp2_clock_ctrl::make(_iface);