aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_unknown.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-08 13:53:40 -0700
committerJosh Blum <josh@joshknows.com>2010-10-08 13:53:40 -0700
commit2eb813f6845e8cd208d6a59e1d7873cf84c51b03 (patch)
tree5092d49313d9e2d09569504a7999eb0a0a49f9e1 /host/lib/usrp/dboard/db_unknown.cpp
parent83fd99cc7badb91a2e8c97048eb9ea694aba22eb (diff)
parenta4f8ad59b2abc6d4b1a6c65aa2652083486e3065 (diff)
downloaduhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.tar.gz
uhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.tar.bz2
uhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.zip
Merge branch 'subdev_enable' into next
Diffstat (limited to 'host/lib/usrp/dboard/db_unknown.cpp')
-rw-r--r--host/lib/usrp/dboard/db_unknown.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/db_unknown.cpp b/host/lib/usrp/dboard/db_unknown.cpp
index f6f4f4a61..ec7ab440b 100644
--- a/host/lib/usrp/dboard/db_unknown.cpp
+++ b/host/lib/usrp/dboard/db_unknown.cpp
@@ -122,6 +122,10 @@ void unknown_rx::rx_get(const wax::obj &key_, wax::obj &val){
val = SUBDEV_CONN_COMPLEX_IQ;
return;
+ case SUBDEV_PROP_ENABLED:
+ val = true; //always enabled
+ return;
+
case SUBDEV_PROP_USE_LO_OFFSET:
val = false;
return;
@@ -151,6 +155,9 @@ void unknown_rx::rx_set(const wax::obj &key_, const wax::obj &val){
case SUBDEV_PROP_FREQ:
return; // it wont do you much good, but you can set it
+ case SUBDEV_PROP_ENABLED:
+ return; //always enabled
+
default: UHD_THROW_PROP_SET_ERROR();
}
}
@@ -211,6 +218,10 @@ void unknown_tx::tx_get(const wax::obj &key_, wax::obj &val){
val = SUBDEV_CONN_COMPLEX_IQ;
return;
+ case SUBDEV_PROP_ENABLED:
+ val = true; //always enabled
+ return;
+
case SUBDEV_PROP_USE_LO_OFFSET:
val = false;
return;
@@ -240,6 +251,9 @@ void unknown_tx::tx_set(const wax::obj &key_, const wax::obj &val){
case SUBDEV_PROP_FREQ:
return; // it wont do you much good, but you can set it
+ case SUBDEV_PROP_ENABLED:
+ return; //always enabled
+
default: UHD_THROW_PROP_SET_ERROR();
}
}