Add test case for Turris SFP
We will start selling Turris SFP soon. We need to prepare and write a few tests for it.
Currently, I tested it with Turris OS 5.3.0 and it works. It does not work 6.0.
5.3.
[ 10.815637] sfp sfp: module Turris RTSFP-10G rev A sn 2106090032 dc 31-05-21
[ 10.825000] sfp sfp: unknown connector, encoding 64b66b, nominal bitrate 10.3Gbps +0% -0%
[ 10.833379] sfp sfp: 1000BaseSX- 1000BaseLX- 1000BaseCX- 1000BaseT- 100BaseTLX- 1000BaseFX- BaseBX10- BasePX-
[ 10.843495] sfp sfp: 10GBaseSR+ 10GBaseLR- 10GBaseLRM- 10GBaseER-
[ 10.849775] sfp sfp: Copper length: unsupported/unspecified
[ 10.855539] sfp sfp: Options: txdisable, txfault, los+
[ 10.860863] sfp sfp: Diagnostics: ddm, intcal, rxpwravg
6.0.
[ 11.323200] sfp sfp: module Turris RTSFP-10G rev A sn 2106090130 dc 210531
[ 16.850760] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 16.860034] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 16.869662] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[ 16.920395] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 18.060082] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 18.184918] usbcore: registered new interface driver option
[ 18.190555] usbserial: USB Serial support registered for GSM modem (1-port)
[ 18.199411] usbcore: registered new interface driver qcserial
[ 18.205222] usbserial: USB Serial support registered for Qualcomm USB modem
[ 18.221074] pci 0000:00:01.0: enabling device (0140 -> 0142)
[ 18.327314] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xf0b10000, irq=83
[ 18.334541] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 20.914528] mvneta f1034000.ethernet eth2: validation with support 00,00000000,00000000 failed: -22
[ 20.923657] sfp sfp: sfp_add_phy failed: -22