From 2f6ab109231667ee255d2ba7cba34a0519019dc9 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 20 Oct 2010 18:31:31 -0700 Subject: 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. --- host/lib/usrp/usrp2/mboard_impl.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'host/lib/usrp/usrp2/mboard_impl.cpp') 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); -- cgit v1.2.3