aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/serdes_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-07 20:42:32 +0000
committerJosh Blum <josh@joshknows.com>2010-06-07 20:42:32 +0000
commit8329c5eafc486c9eec6edabbdc2533436127c252 (patch)
tree79b4ebbfe3a6fa192c6ccf04c2a49c60f81a90b8 /host/lib/usrp/usrp2/serdes_ctrl.cpp
parent7332fc3198a81d9f747ea2a033c1cca168858944 (diff)
parent0f4eff49c820a8d2ccb38e191604eb86c81b30af (diff)
downloaduhd-8329c5eafc486c9eec6edabbdc2533436127c252.tar.gz
uhd-8329c5eafc486c9eec6edabbdc2533436127c252.tar.bz2
uhd-8329c5eafc486c9eec6edabbdc2533436127c252.zip
Merge branch 'work' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/usrp/usrp2/serdes_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp2/serdes_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/serdes_ctrl.cpp b/host/lib/usrp/usrp2/serdes_ctrl.cpp
index 31708d377..e83dceb96 100644
--- a/host/lib/usrp/usrp2/serdes_ctrl.cpp
+++ b/host/lib/usrp/usrp2/serdes_ctrl.cpp
@@ -27,11 +27,11 @@ class usrp2_serdes_ctrl_impl : public usrp2_serdes_ctrl{
public:
usrp2_serdes_ctrl_impl(usrp2_iface::sptr iface){
_iface = iface;
- _iface->poke32(FR_MISC_CTRL_SERDES, FRF_MISC_CTRL_SERDES_ENABLE | FRF_MISC_CTRL_SERDES_RXEN);
+ _iface->poke32(U2_REG_MISC_CTRL_SERDES, U2_FLAG_MISC_CTRL_SERDES_ENABLE | U2_FLAG_MISC_CTRL_SERDES_RXEN);
}
~usrp2_serdes_ctrl_impl(void){
- _iface->poke32(FR_MISC_CTRL_SERDES, 0); //power-down
+ _iface->poke32(U2_REG_MISC_CTRL_SERDES, 0); //power-down
}
private: