summaryrefslogtreecommitdiffstats
path: root/lib/usrp/dboard/manager.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-16 12:25:31 -0800
committerJosh Blum <josh@joshknows.com>2010-02-16 12:25:31 -0800
commit429342fbab61b49c6622f994c5522ee3eee7e39a (patch)
tree5d607d3f6314d79403bffdce179d6c95a5e8759b /lib/usrp/dboard/manager.cpp
parent1b70ff306342ca1078e105488811a52c49b446f4 (diff)
downloaduhd-429342fbab61b49c6622f994c5522ee3eee7e39a.tar.gz
uhd-429342fbab61b49c6622f994c5522ee3eee7e39a.tar.bz2
uhd-429342fbab61b49c6622f994c5522ee3eee7e39a.zip
Added usrp2 impl for the guts of the usrp2 handling.
The top level usrp2 will contain an impl and forward calls to it.
Diffstat (limited to 'lib/usrp/dboard/manager.cpp')
-rw-r--r--lib/usrp/dboard/manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/usrp/dboard/manager.cpp b/lib/usrp/dboard/manager.cpp
index f6d9a718e..4a675fd0b 100644
--- a/lib/usrp/dboard/manager.cpp
+++ b/lib/usrp/dboard/manager.cpp
@@ -42,6 +42,8 @@ static void register_internal_dboards(void){
static bool called = false;
if (called) return; called = true;
//register the known dboards (dboard id, constructor, subdev names)
+ manager::register_subdevs(ID_NONE, &basic_tx::make, list_of("")); //for none, make a basic tx
+ manager::register_subdevs(ID_NONE, &basic_rx::make, list_of("ab")); //for none, make a basic rx (one subdev)
manager::register_subdevs(ID_BASIC_TX, &basic_tx::make, list_of(""));
manager::register_subdevs(ID_BASIC_RX, &basic_rx::make, list_of("a")("b")("ab"));
}