diff options
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n3xx.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py index 895e561b7..f8ba53f54 100644 --- a/mpm/python/usrp_mpm/periph_manager/n3xx.py +++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py @@ -80,12 +80,19 @@ class N3xxXportMgrUDP(XportMgrUDP): 'label': 'misc-enet-regs1', 'type': 'sfp', }, + 'int0': { + 'label': 'misc-enet-int-regs', + 'type': 'internal', + }, + 'eth0': { + 'label': '', + 'type': 'forward', + } } bridges = {'bridge0': ['sfp0', 'sfp1', 'bridge0']} class N3xxXportMgrLiberio(XportMgrLiberio): " N3xx-specific Liberio configuration " - max_chan = 10 # pylint: enable=too-few-public-methods ############################################################################### @@ -498,8 +505,10 @@ class n3xx(ZynqComponents, PeriphManagerBase): assert self.mboard_info['rpc_connection'] in ('remote', 'local') if self.mboard_info['rpc_connection'] == 'remote': return ["udp"] - # else: - return ["liberio"] + elif self._xport_mgrs["liberio"].max_chan > 0: + return ["liberio"] + else: + return ["udp"] def get_chdr_link_options(self, xport_type): """ |