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.
openwrt/target/linux/ramips
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>
4 years ago
..
base-files ramips: fix HiWiFi HC5962 switch configuration 4 years ago
dts ramips: mt76x8: fix bogus mediatek,portmap 4 years ago
files-4.14/drivers ramips: ethernet: remove unused SIOCETHTOOL ioctl handling 5 years ago
image ramips: add factory image for Netgear R6350 4 years ago
mt76x8 ramips: refresh all subtargets kernel configs 5 years ago
mt7620 ramips: refresh all subtargets kernel configs 5 years ago
mt7621 ramips: add support for ALFA Network Quad-E4G 5 years ago
patches-4.14 kernel: bump 4.14 to 4.14.158 5 years ago
rt288x ramips: refresh all subtargets kernel configs 5 years ago
rt305x ramips: refresh all subtargets kernel configs 5 years ago
rt3883 ramips: refresh all subtargets kernel configs 5 years ago
Makefile ramips: switch to linux 4.14 6 years ago
modules.mk kernel: Fix kmod-regmap split 5 years ago