aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-10-24 13:59:34 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:03 -0800
commit983bea69e589e619d97991a230ed96dd39b76a75 (patch)
treeaaef2a2b4724f14fe217c0949eb29856adb003bb
parentd30201596693a4ad50db62f4bde0823e2b8cc391 (diff)
downloaduhd-983bea69e589e619d97991a230ed96dd39b76a75.tar.gz
uhd-983bea69e589e619d97991a230ed96dd39b76a75.tar.bz2
uhd-983bea69e589e619d97991a230ed96dd39b76a75.zip
mpm: Minor refactoring of PeriphManagerBase attributes
-rw-r--r--mpm/python/usrp_mpm/periph_manager/base.py10
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n310.py1
2 files changed, 3 insertions, 8 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py
index 305b57006..8c50b060d 100644
--- a/mpm/python/usrp_mpm/periph_manager/base.py
+++ b/mpm/python/usrp_mpm/periph_manager/base.py
@@ -54,13 +54,6 @@ class PeriphManagerBase(object):
be implemented here. Motherboard specific information can be stored in
separate motherboard classes derived from this class
"""
- # stores discovered device information in dicts
- mboard_if_addrs = {}
- # this information has to be provided by
- # the specific periph_manager implementation
- updateable_components = []
- sid_endpoints = {}
-
#########################################################################
# Overridables
#
@@ -369,7 +362,8 @@ class PeriphManagerBase(object):
return list of updateable components
This method does not require a claim_token in the RPC
"""
- return self.updateable_components
+ # return self.updateable_components.keys()
+ return [] # FIXME
@no_claim
def list_available_overlays(self):
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py
index 657d96ae3..06d9a444c 100644
--- a/mpm/python/usrp_mpm/periph_manager/n310.py
+++ b/mpm/python/usrp_mpm/periph_manager/n310.py
@@ -230,6 +230,7 @@ class n310(PeriphManagerBase):
def __init__(self, args):
super(n310, self).__init__(args)
+ self.sid_endpoints = {}
# Init peripherals
self.log.trace("Initializing TCA6424 port expander controls...")
self._gpios = TCA6424(int(self.mboard_info['rev']))