Skip to content

Draft: Turris SFP module support

Josef Schlehofer requested to merge crashlab into hbl

Most of these changes were taken from @mbehun from his branch phy-supported-interfaces on kernel repository [1].

Patches manually rebased due to conflicts:

  • net: sfp: add support for multigig RollBall transceivers
  • net: phylink: use phy interface mode bitmaps

[1] https://git.kernel.org/pub/scm/linux/kernel/git/kabel/linux.git/log/?h=phy-supported-interfaces

**It compiles just fine, but I am not able to get this work, the interface is still down. But I am able to read the FW version, though. **

[    7.927579] sfp sfp: module Turris           RTSFP-10G        rev A    sn 2106090032       dc 210531  
Router Turris successfully started.
[   38.168203] mv88x3310 i2c:sfp:11: Firmware version 0.2.8.0
[   39.398202] mvneta f1034000.ethernet eth2: PHY [i2c:sfp:11] driver [mv88x3310] (irq=POLL)
Edited by Josef Schlehofer

Merge request reports