aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_dbsrx.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
committerJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
commitd96b2e7587962c43c1db895b3340f9d868cbd704 (patch)
tree1bf3f1a77312695cef87e696be9eb905617c2ec3 /host/lib/usrp/dboard/db_dbsrx.cpp
parent8e341caadf19db645635e3e7e1a26e6b00e64c70 (diff)
downloaduhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.gz
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.bz2
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.zip
usrp: use the dboard id to prefix the subdev gain group names
Diffstat (limited to 'host/lib/usrp/dboard/db_dbsrx.cpp')
-rw-r--r--host/lib/usrp/dboard/db_dbsrx.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/host/lib/usrp/dboard/db_dbsrx.cpp b/host/lib/usrp/dboard/db_dbsrx.cpp
index 939a79e58..0b8b4db83 100644
--- a/host/lib/usrp/dboard/db_dbsrx.cpp
+++ b/host/lib/usrp/dboard/db_dbsrx.cpp
@@ -162,15 +162,10 @@ static dboard_base::sptr make_dbsrx(dboard_base::ctor_args_t args){
return dboard_base::sptr(new dbsrx(args));
}
-//dbid for USRP2 version
UHD_STATIC_BLOCK(reg_dbsrx_dboard){
- //register the factory function for the rx dbid
+ //register the factory function for the rx dbid (others version)
dboard_manager::register_dboard(0x000D, &make_dbsrx, "DBSRX");
-}
-
-//dbid for USRP1 version
-UHD_STATIC_BLOCK(reg_dbsrx_on_usrp1_dboard){
- //register the factory function for the rx dbid
+ //register the factory function for the rx dbid (USRP1 version)
dboard_manager::register_dboard(0x0002, &make_dbsrx, "DBSRX");
}