diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-21 21:09:21 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-22 09:21:14 -0800 |
commit | 02bfd33e8888166149d045e42ce722c3a5cde5f0 (patch) | |
tree | 1daa7f53406329b415070e01edf3c0631347b04a | |
parent | 15d01c52b1b8eb810482d0e79000000d694f4c00 (diff) | |
download | uhd-02bfd33e8888166149d045e42ce722c3a5cde5f0.tar.gz uhd-02bfd33e8888166149d045e42ce722c3a5cde5f0.tar.bz2 uhd-02bfd33e8888166149d045e42ce722c3a5cde5f0.zip |
mpm: n320: Demote warning on absence of QSFP board
The QSFP board can't be detected if support for it is not baked into
the current FPGA image, so the warning on its absence may be incorrect.
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n3xx.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py index 360f8e8f8..c603c922f 100644 --- a/mpm/python/usrp_mpm/periph_manager/n3xx.py +++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py @@ -219,6 +219,7 @@ class n3xx(ZynqComponents, PeriphManagerBase): self._available_endpoints = list(range(256)) self._bp_leds = None self._gpsd = None + self._qsfp_retimer = None super(n3xx, self).__init__() try: # Init peripherals @@ -367,10 +368,10 @@ class n3xx(ZynqComponents, PeriphManagerBase): self._qsfp_retimer.set_rate_preset(N32X_DEFAULT_QSFP_RATE_PRESET) self._qsfp_retimer.set_driver_preset(N32X_DEFAULT_QSFP_DRIVER_PRESET) elif self.device_info['product'] == 'n320': - # If we have an N320, we should also have the QSFP board, but we - # won't freak out if we can't find it. Maybe someone removed or - # disabled it. - self.log.warning("No QSFP board detected!") + self.log.info( + "No QSFP board detected: " + "Assuming it is disabled in the device tree overlay " + "(e.g., HG, XG images).") # Init CHDR transports self._xport_mgrs = { 'udp': N3xxXportMgrUDP(self.log.getChild('UDP'), args), |