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 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| sfp_led.c | ||