mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-27 03:43:37 +08:00
linux: generic: net: dsa: mv88e6xxx LED support
This solution that is needed for some routers to provide proper LED activity when controlled directly by the MV88E6xxx switch, has just been merged in upstream Linux. Make this patch 901 as other backports from earlier kernels are in patch 896 and this is the first free number after that. Patch offsets in pending patches are augmented as part of the refresh. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
09a6e4747f
commit
c990f6e156
@ -560,6 +560,7 @@ define KernelPackage/dsa-mv88e6xxx
|
||||
TITLE:=Marvell MV88E6XXX DSA Switch
|
||||
DEPENDS:=+kmod-dsa +kmod-ptp +kmod-phy-marvell +kmod-dsa-tag-dsa
|
||||
KCONFIG:=CONFIG_NET_DSA_MV88E6XXX \
|
||||
CONFIG_NET_DSA_MV88E6XXX_LEDS=y \
|
||||
CONFIG_NET_DSA_MV88E6XXX_PTP=y
|
||||
FILES:=$(LINUX_DIR)/drivers/net/dsa/mv88e6xxx/mv88e6xxx.ko
|
||||
AUTOLOAD:=$(call AutoLoad,41,mv88e6xxx,1)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3969,6 +3969,7 @@ CONFIG_NET_CORE=y
|
||||
# CONFIG_NET_DSA_MT7530 is not set
|
||||
# CONFIG_NET_DSA_MV88E6060 is not set
|
||||
# CONFIG_NET_DSA_MV88E6XXX is not set
|
||||
# CONFIG_NET_DSA_MV88E6XXX_LEDS is not set
|
||||
# CONFIG_NET_DSA_MV88E6XXX_PTP is not set
|
||||
# CONFIG_NET_DSA_QCA8K is not set
|
||||
# CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT is not set
|
||||
|
@ -9,7 +9,7 @@ Subject: [PATCH] net/dsa/mv88e6xxx: disable ATU violation
|
||||
|
||||
--- a/drivers/net/dsa/mv88e6xxx/chip.c
|
||||
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
|
||||
@@ -3375,6 +3375,9 @@ static int mv88e6xxx_setup_port(struct m
|
||||
@@ -3405,6 +3405,9 @@ static int mv88e6xxx_setup_port(struct m
|
||||
else
|
||||
reg = 1 << port;
|
||||
|
||||
|
@ -17,7 +17,7 @@ Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
|
||||
|
||||
--- a/drivers/net/dsa/mv88e6xxx/chip.c
|
||||
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
|
||||
@@ -6993,6 +6993,7 @@ static int mv88e6xxx_register_switch(str
|
||||
@@ -7027,6 +7027,7 @@ static int mv88e6xxx_register_switch(str
|
||||
ds->ops = &mv88e6xxx_switch_ops;
|
||||
ds->ageing_time_min = chip->info->age_time_coeff;
|
||||
ds->ageing_time_max = chip->info->age_time_coeff * U8_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user