opnsense-deps/drivers/sfp-led
Tomaz Zaman 36526892ec sfpled: use ifnet link state instead of SFP GPIOs
The dtsec driver now owns the SFP GPIO pins (mod-def0, LOS,
TX-disable).  FreeBSD gpiobus only allows one consumer per pin,
so sfpled can no longer acquire them.  Remove all SFP GPIO and
I2C EEPROM access from sfpled — derive module presence and link
state purely from the dtsec ifnet link state:

  LINK_STATE_UNKNOWN → no module → LEDs off
  LINK_STATE_DOWN    → module present, no link → orange solid
  LINK_STATE_UP      → link up → green on, orange blinks on traffic
2026-03-15 14:27:17 +01:00
..
Makefile sfpled: use ifnet link state instead of SFP GPIOs 2026-03-15 14:27:17 +01:00
sfp_led.c sfpled: use ifnet link state instead of SFP GPIOs 2026-03-15 14:27:17 +01:00