From 02bfd33e8888166149d045e42ce722c3a5cde5f0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 21 Feb 2019 21:09:21 -0800 Subject: 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. --- mpm/python/usrp_mpm/periph_manager/n3xx.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mpm/python/usrp_mpm') 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), -- cgit v1.2.3