diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-27 12:32:06 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-03 21:00:14 -0700 |
commit | 0e7c8c388a5dcbd70631526b42e08178300b93c4 (patch) | |
tree | fc0e1dea5161d55460abcc1accaea5b16571c0bc /host/lib/usrp/e100/e100_impl.hpp | |
parent | 69adaee902c5f409ebd7844667a0c253d7a06c6a (diff) | |
download | uhd-0e7c8c388a5dcbd70631526b42e08178300b93c4.tar.gz uhd-0e7c8c388a5dcbd70631526b42e08178300b93c4.tar.bz2 uhd-0e7c8c388a5dcbd70631526b42e08178300b93c4.zip |
e100/b100: moved gpio regs and compat readback
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.hpp')
-rw-r--r-- | host/lib/usrp/e100/e100_impl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/e100/e100_impl.hpp b/host/lib/usrp/e100/e100_impl.hpp index 954d6bd93..f3e481b93 100644 --- a/host/lib/usrp/e100/e100_impl.hpp +++ b/host/lib/usrp/e100/e100_impl.hpp @@ -48,7 +48,7 @@ static const double E100_RX_LINK_RATE_BPS = 166e6/3/2*2; static const double E100_TX_LINK_RATE_BPS = 166e6/3/1*2; static const std::string E100_I2C_DEV_NODE = "/dev/i2c-3"; static const std::string E100_UART_DEV_NODE = "/dev/ttyO0"; -static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x06; +static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x08; static const boost::uint32_t E100_RX_SID_BASE = 2; static const boost::uint32_t E100_TX_ASYNC_SID = 1; static const double E100_DEFAULT_CLOCK_RATE = 64e6; @@ -129,6 +129,7 @@ private: void update_tx_subdev_spec(const uhd::usrp::subdev_spec_t &); void update_clock_source(const std::string &); uhd::sensor_value_t get_ref_locked(void); + void check_fpga_compat(void); }; |