Turris SFP+ not working on kernel 5.15
It appears that Turris SFP+ does not get set up correctly in HBL (Turris OS 6.0) on Turris Omnia:
[ 7.947564] sfp sfp: Host maximum power 3.0W
[ 8.277850] sfp sfp: module Turris RTSFP-10G rev A sn 2109150236 dc 210915
[ 12.329759] mvneta f1034000.ethernet eth2: configuring for inband/sgmii link mode
[ 14.177653] sfp sfp: no PHY detected
[ 14.181290] mvneta f1034000.ethernet eth2: validation with support 0000000,00000000,000020c0 failed: -22
# uname -a
Linux omnia 5.15.59 #0 SMP Thu Aug 11 11:58:26 2022 armv7l GNU/Linux
# ethtool --module-info eth2
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x22 (RJ45)
Transceiver codes : 0x10 0x00 0x00 0x00 0x00 0x08 0x00 0x00 0x16
Transceiver type : 10G Ethernet: 10G Base-SR
Transceiver type : Active Cable
Transceiver type : Extended: 10Gbase-T with SFI electrical interface
Encoding : 0x06 (64B/66B)
BR, Nominal : 10300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 80m
Length (62.5um) : 30m
Length (Copper) : 0m
Length (OM3) : 300m
Active Cu cmplnce. : 0x03 (unknown) [SFF-8472 rev10.4 only]
Vendor name : Turris
Vendor OUI : 00:90:65
Vendor PN : RTSFP-10G
Vendor rev : A
Option values : 0x00 0x1a
Option : RX_LOS implemented
Option : TX_FAULT implemented
Option : TX_DISABLE implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : 2109150236
Date code : 210915
Optical diagnostics support : Yes
...
Edited by Josef Schlehofer