openwrt-pf/package/kernel/linux/modules
Mieczyslaw Nalewaj 2aa1185fb0 leds: add "network" LED trigger (lan/wan/wlan)
LED trigger for network interfaces.

 - Aggregated per-family (lan/wan/wlan).
 - Family and flags are taken from device tree properties:
   - "family" : simple family string "lan" | "wan" | "wlan"
   - "mode"   : any combination of "link", "tx", "rx" flags
  Priority/combination:
   * If "mode" present: flags come from "mode" and take precedence.
     Family is taken from "family" if present, otherwise from the LED name.
   * If only "family" present: use its family and default flags = link+tx+rx.
   * If neither present: fall back to LED device name parsing.

 - Suffix "-online" is valid ONLY in the LED name (label),
   e.g. "green:wlan-online". It indicates the online variant but is applied
   only when DT "mode" is absent.

Behaviour:
 - wlan (normal): blink/solid driven by throughput table
 - lan/wan (normal): one-shot blink on TX/RX packet change
 - *-online variants: steady ON while any interface of the family has carrier

 Interfaces are auto-tracked by name match (lan0, wan1, wlan2, phy0, wl1,
 ath0, ra0...). Up to MAX_IFACES (16) interfaces per family

This trigger is intended for board/device authors and drivers to provide simple
network-activity LED behaviour without per-interface wiring in userspace.

Refresh bcm27xx patches in the same commit to account for line shifts in
drivers/leds/trigger/Kconfig and Makefile, ensuring clean applies for
bisectability.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/19903
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-06-05 20:30:34 +02:00
..
001-depends.mk
block.mk packages: 6.18: update modules files 2026-03-28 11:51:10 +01:00
bluetooth.mk packages: remove dependencies for kernel 6.6 and 6.12 2025-11-27 12:35:13 +01:00
can.mk
crypto.mk kernel: crypto-sha512-arm64: do not package with kernel 6.18 2026-05-28 10:15:20 +02:00
firewire.mk
fs.mk packages: 6.18: update modules files 2026-03-28 11:51:10 +01:00
gpio.mk generic: drop downstream gpio-cascade driver 2026-03-06 11:33:05 +01:00
hwmon.mk kernel: add kmod-hwmon-corsair-cpro 2026-05-23 18:45:20 +02:00
i2c.mk
iio.mk packages: 6.18: update modules files 2026-03-28 11:51:10 +01:00
input.mk rockchip: enable SARADC; add buttons hotplug and ADC kmods to default packages 2026-05-14 17:52:56 +02:00
leds.mk leds: add "network" LED trigger (lan/wan/wlan) 2026-06-05 20:30:34 +02:00
lib.mk packages: 6.18: update modules files 2026-03-28 11:51:10 +01:00
multiplexer.mk
netdevices.mk generic: 6.18: drop downstream RTL8261N driver 2026-05-21 17:04:55 +01:00
netfilter.mk packages: 6.18: update modules files 2026-03-28 11:51:10 +01:00
netsupport.mk kernel: remove ax25 2026-05-04 16:29:36 +02:00
nls.mk
other.mk kernel: other: no longer package OSLEC for Linux 6.18 2026-05-17 13:29:47 +01:00
pcmcia.mk
pse-pd.mk kernel: pse-pd: auto-select kmod-pse-pd from AddDepends helper 2026-05-20 10:38:35 +02:00
rtc.mk kernel/modules: add RV3028 I2C RTC kernel module support 2026-06-01 17:49:36 +02:00
sound.mk kernel: sound: fix kmod-sound-midi2 packaging 2026-05-10 12:45:41 +02:00
spi.mk
usb.mk modules: generate plain module names via version filters 2026-04-12 23:56:07 +02:00
video.mk modules: video: Fix DRM client lib dependency 2026-04-27 14:09:38 +02:00
virt.mk kernel: add kmods for vsockets over virtio 2026-03-01 19:54:12 +01:00
w1.mk
wpan.mk