openwrt/target/linux
Sungbo Eo 1d56a7b75d ramips: mt76x8: fix bogus mediatek,portmap
mt76x8 uses esw_rt3050 driver, which does not accept mediatek,portmap with
string values. Convert the strings to integers to make it work.

According to its switch setup, WRTnode 2P/2R have a WAN port at port 0,
so the correct value should be 0x3e.

tplink_8m.dtsi uses "llllw", but it does not match switch setups of any
device using the DTSI. Remove it from the DTSI and add correct value to DTS
for each device.

These devices have a WAN port at port 0. Set the value to 0x3e.
- tplink,archer-c20-v4
- tplink,archer-c50-v3
- tplink,tl-mr3420-v5
- tplink,tl-wr840n-v4
- tplink,tl-wr841n-v13
- tplink,tl-wr842n-v5

These devices have only one ethernet port. They don't need portmap setting.
- tplink,tl-wa801nd-v5
- tplink,tl-wr802n-v4
- tplink,tl-wr902ac-v3

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(backported from commit 7a387bf9a0)
[removed TL-WR841N v14 which is not present in 19.07]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-01-21 13:54:18 +01:00
..
apm821xx kernel: bump 4.14 to 4.14.159 2019-12-24 15:29:32 +01:00
ar71xx kernel: bump 4.14 to 4.14.164 2020-01-20 13:43:56 +01:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-17 11:27:20 +02:00
ath25 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-16 05:57:08 +02:00
ath79 kernel: bump 4.14 to 4.14.164 2020-01-20 13:43:56 +01:00
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 2019-10-15 20:26:22 +02:00
brcm47xx brcm47xx: add switch configuration for WNR3500L 2019-12-11 22:41:46 +01:00
brcm63xx kernel: bump 4.14 to 4.14.164 2020-01-20 13:43:56 +01:00
brcm2708 kernel: bump 4.14 to 4.14.164 2020-01-20 13:43:56 +01:00
cns3xxx kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
gemini kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
generic kernel: bump 4.14 to 4.14.165 2020-01-20 13:43:56 +01:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx ipq40xx: use ath10k-ct-smallbuffers for 128 MiB devices 2019-12-26 16:19:58 +01:00
ipq806x kernel: bump 4.14 to 4.14.159 2019-12-24 15:29:32 +01:00
kirkwood kirkwood: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:23 +02:00
lantiq kernel: bump 4.14 to 4.14.159 2019-12-24 15:29:32 +01:00
layerscape kernel: bump 4.14 to 4.14.166 2020-01-20 13:43:56 +01:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:30 +02:00
mediatek kernel: bump 4.14 to 4.14.161 2020-01-04 23:04:24 +01:00
mpc85xx mpc85xx: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:20 +02:00
mvebu kernel: bump 4.14 to 4.14.160 2019-12-25 15:51:43 +01:00
mxs kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
octeon treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
octeontx kernel: bump 4.14 to 4.14.160 2019-12-25 15:51:43 +01:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas oxnas: disable legacy PTYs and virtual terminals 2019-12-17 11:27:12 +02:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ramips ramips: mt76x8: fix bogus mediatek,portmap 2020-01-21 13:54:18 +01:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi kernel: bump 4.14 to 4.14.164 2020-01-20 13:43:56 +01:00
tegra treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
uml uml: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:16 +02:00
x86 x86: fix missing led variable warning during boot 2020-01-06 08:40:06 +01:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile