]> asedeno.scripts.mit.edu Git - linux.git/commit
igb: Fix SGMII SFP module discovery for 100FX/LX.
authorManfred Rudigier <manfred.rudigier@omicronenergy.com>
Wed, 4 Dec 2019 10:40:26 +0000 (11:40 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Jan 2020 17:21:40 +0000 (09:21 -0800)
commit5365ec1aeff5b9f2962a9c9b31d63f9dad7e0e2d
tree646a8b621d23f34d3632080696b6ace8ae2454c4
parent4fad78ad6422d9bca62135bbed8b6abc4cbb85b8
igb: Fix SGMII SFP module discovery for 100FX/LX.

Changing the link mode should also be done for 100BaseFX SGMII modules,
otherwise they just don't work when the default link mode in CTRL_EXT
coming from the EEPROM is SERDES.

Additionally 100Base-LX SGMII SFP modules are also supported now, which
was not the case before.

Tested with an i210 using Flexoptix S.1303.2M.G 100FX and
S.1303.10.G 100LX SGMII SFP modules.

Signed-off-by: Manfred Rudigier <manfred.rudigier@omicronenergy.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.c
drivers/net/ethernet/intel/igb/igb_ethtool.c