aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_e3x0.cpp
diff options
context:
space:
mode:
authorSugandha Gupta <sugandha.gupta@ettus.com>2019-01-25 11:34:47 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-05-01 15:17:23 -0700
commit178b35569b1a25180a80a23b945b10b04c9f10f5 (patch)
tree3adb6f78ebd148867a50526c60fe7bf9694a4a72 /host/lib/usrp/dboard/db_e3x0.cpp
parent8a400f6a30942c9d6d3596f6989720eb4cff058b (diff)
downloaduhd-178b35569b1a25180a80a23b945b10b04c9f10f5.tar.gz
uhd-178b35569b1a25180a80a23b945b10b04c9f10f5.tar.bz2
uhd-178b35569b1a25180a80a23b945b10b04c9f10f5.zip
e310/e320: Move E310 to MPM architecture and refactor
- Turns the E310 into an MPM device (like N3xx, E320) - Factor out common code between E320 and E310, maximize sharing between the two devices - Remove all pre-MPM E310 code that is no longer needed - Modify MPM to remove all existing overlays before applying new ones (this is necessary to enable idle image mode for E310) Co-authored-by: Virendra Kakade <virendra.kakade@ni.com> Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
Diffstat (limited to 'host/lib/usrp/dboard/db_e3x0.cpp')
-rw-r--r--host/lib/usrp/dboard/db_e3x0.cpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/host/lib/usrp/dboard/db_e3x0.cpp b/host/lib/usrp/dboard/db_e3x0.cpp
deleted file mode 100644
index 2745ee3e8..000000000
--- a/host/lib/usrp/dboard/db_e3x0.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright 2014 Ettus Research LLC
-// Copyright 2018 Ettus Research, a National Instruments Company
-//
-// SPDX-License-Identifier: GPL-3.0-or-later
-//
-
-#include <uhd/utils/static.hpp>
-#include <uhd/usrp/dboard_base.hpp>
-#include <uhd/usrp/dboard_manager.hpp>
-
-namespace uhd { namespace usrp {
-
-/***********************************************************************
- * The E310 dboard
- * AD9361 Interface, thus two subdevs
- **********************************************************************/
-class e310_dboard : public xcvr_dboard_base{
-public:
- e310_dboard(ctor_args_t args) : xcvr_dboard_base(args) {}
-
- virtual ~e310_dboard(void) {}
-};
-
-/***********************************************************************
- * The E310 dboard
- * AD9364 Interface, thus one subdev
- **********************************************************************/
-class e300_dboard : public xcvr_dboard_base{
-public:
- e300_dboard(ctor_args_t args) : xcvr_dboard_base(args) {}
-
- virtual ~e300_dboard(void) {}
-};
-
-/***********************************************************************
- * Register the E310 dboards
- **********************************************************************/
-static dboard_base::sptr make_e310_dboard(dboard_base::ctor_args_t args){
- return dboard_base::sptr(new e310_dboard(args));
-}
-
-static dboard_base::sptr make_e300_dboard(dboard_base::ctor_args_t args){
- return dboard_base::sptr(new e300_dboard(args));
-}
-
-}} // namespace
-
-using namespace uhd::usrp;
-
-UHD_STATIC_BLOCK(reg_e3x0_dboards){
- dboard_manager::register_dboard(0x0110, &make_e310_dboard, "E310 MIMO XCVR");
- dboard_manager::register_dboard(0x0100, &make_e300_dboard, "E300 SISO XCVR");
-}