774263bb4e
Some XGS-PON SFPs have been observed ACKing I2C reads and returning uninitialized garbage while their uC boots. This can lead to the SFP ID code marking an otherwise working SFP module as unsupported if a bogus ID value is read while its internal PHY/microcontroller is still booting. Retry the ID read several times looking not just for NAK, but also for a valid ID field. Since the device isn't NAKing the transaction, the existing longer retry code in ixgbe_read_i2c_byte_generic_int() doesn't apply here. Signed-off-by: Stephen Douthit <stephend@silicom-usa.com> Signed-off-by: Jeff Daly <jeffd@silicom-usa.com> Reviewed-by: Haiyue Wang <haiyue.wang@intel.com> |
||
---|---|---|
.. | ||
ixgbe_82598.c | ||
ixgbe_82598.h | ||
ixgbe_82599.c | ||
ixgbe_82599.h | ||
ixgbe_api.c | ||
ixgbe_api.h | ||
ixgbe_common.c | ||
ixgbe_common.h | ||
ixgbe_dcb_82598.c | ||
ixgbe_dcb_82598.h | ||
ixgbe_dcb_82599.c | ||
ixgbe_dcb_82599.h | ||
ixgbe_dcb.c | ||
ixgbe_dcb.h | ||
ixgbe_hv_vf.c | ||
ixgbe_hv_vf.h | ||
ixgbe_mbx.c | ||
ixgbe_mbx.h | ||
ixgbe_osdep.h | ||
ixgbe_phy.c | ||
ixgbe_phy.h | ||
ixgbe_type.h | ||
ixgbe_vf.c | ||
ixgbe_vf.h | ||
ixgbe_x540.c | ||
ixgbe_x540.h | ||
ixgbe_x550.c | ||
ixgbe_x550.h | ||
meson.build | ||
README |
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2020 Intel Corporation */ Intel® IXGBE driver =================== This directory contains source code of FreeBSD ixgbe driver of version not-released-cid-ixgbe.2020.06.09.tar.gz released by the team which develop basic drivers for any ixgbe NIC. The sub-directory of base/ contains the original source package. This driver is valid for the product(s) listed below * Intel® 10 Gigabit AF DA Dual Port Server Adapter * Intel® 10 Gigabit AT Server Adapter * Intel® 10 Gigabit AT2 Server Adapter * Intel® 10 Gigabit CX4 Dual Port Server Adapter * Intel® 10 Gigabit XF LR Server Adapter * Intel® 10 Gigabit XF SR Dual Port Server Adapter * Intel® 10 Gigabit XF SR Server Adapter * Intel® 82598 10 Gigabit Ethernet Controller * Intel® 82599 10 Gigabit Ethernet Controller * Intel® Ethernet Controller X540-AT2 * Intel® Ethernet Server Adapter X520 Series * Intel® Ethernet Server Adapter X520-T2 * Intel® Ethernet Controller X550 Series Updating the driver =================== NOTE: The source code in this directory should not be modified apart from the following file(s): ixgbe_osdep.h