Files
openwrt/target/linux/generic/pending-6.18
Daniel Golle 60043441a0 generic: add LED triggers for SFP module state and faults
Register LED triggers for each SFP cage representing module state:

 - present: the module is detected.

 - los: loss of signal, using the module's own declared polarity. I
   split that logic out of the link check into sfp_los_asserted() so
   both use the same code.

 - tx-fault: the state machine reports a transmit fault (init fault,
   fault, re-init, or persistently disabled).

 - error: the module is in error, covering an unreadable EEPROM or I2C
   failure, an unsupported module, or a failed power-up, plus the
   failed-PHY state.

 - fault: either tx-fault or error.

Refresh target patches affected by the generic addition.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-10-07 00:03:51 +01:00
..