You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Fietkau d527b82862 switch: allow Ethernet port LEDs to show specific port speeds only
This patch adds speed_mask special file to LEDs connected to switch ports
via 'switch' trigger. It allows to choose which speeds to signal when link
is up. If router has more than one LED per port, they may light up
differently depending on how fast connection is. Default setting is 'all
speeds' so backward compatibility with system scripts (for example uci) is
maintained.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>

SVN-Revision: 48775
8 years ago
..
b53 b53: support setting port link 8 years ago
adm6996.c generic: fix adm6996 init 9 years ago
adm6996.h linux/generic: add MIB counters and port status to ADM6996 switch 10 years ago
ar8216.c ar8216: add swconfig attributes for ARL table flushing 9 years ago
ar8216.h ar8216: add swconfig attributes for ARL table flushing 9 years ago
ar8327.c ar8327: add IGMP Snooping support 9 years ago
ar8327.h ar8327: add IGMP Snooping support 9 years ago
ip17xx.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 14 years ago
mvsw61xx.c mvsw61xx: match swconfig function names 9 years ago
mvsw61xx.h Previously, all VLANs (port-based or 802.1q) were sharing a single database in the ATU. This created problems in the case of a system where two ports/devices share a MAC address (e.g. Linksys WRT1900AC eth0/eth1). 9 years ago
mvswitch.c kernel: mvswitch: merge 3.10+ compile fix into the code 9 years ago
mvswitch.h rename target/linux/generic-2.6 to generic 14 years ago
psb6970.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 14 years ago
rtl8306.c revert: kernel: rtl8306: fix max pvid & remove port isolation 10 years ago
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 11 years ago
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 12 years ago
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 11 years ago
rtl8366s.c fix rtl8366s OF binding 11 years ago
rtl8367.c rtl8367: add support for configuring the VLAN FID 11 years ago
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 11 years ago
swconfig.c swconfig: add (PHY) generic helper setting port link 8 years ago
swconfig_leds.c switch: allow Ethernet port LEDs to show specific port speeds only 8 years ago