[OpenWrt-Devel] [PATCH 18.06 3/3] ramips: fix duplicate network setup for dlink, dir-615-h1

2019-09-07 Thread Adrian Schmutzler
In 555ca422d1cb ("ramips: fix D-Link DIR-615 H1 switch port mapping"), port setup for dir-615-h1 was changed without removing the old one. This was working as the new one was triggered earlier than the old one. (In the meantine, changed sorting during ramips rename patches actually inversed that o

[OpenWrt-Devel] [PATCH 18.06 1/3] ramips: remove duplicate case for MAC setup of freestation5

2019-09-07 Thread Adrian Schmutzler
ARC FreeStation5 is present twice in MAC address setup. >From older commits/changes, it is not possible to reconstruct the correct choice only by reading the annotations. Thus, remove the second case and keep the first one, so behavior stays the same (as nobody seems to have complained about it).

[OpenWrt-Devel] [PATCH 18.06 2/3] ramips: fix D-Link DIR-615 H1 switch port mapping

2019-09-07 Thread Adrian Schmutzler
From: Mirko Parthey Reuse a device-specific switch port mapping which also applies to the D-Link DIR-615 H1. Signed-off-by: Mirko Parthey [cherry-pick/rebase] Signed-off-by: Adrian Schmutzler (cherry picked from commit 555ca422d1cbc2db354c0ed03d1a79650f590859) --- target/linux/ramips/base-fil

[OpenWrt-Devel] [PATCH 19.07 3/3] ramips: fix ethernet MAC address of ASUS RT-AC57U

2019-09-07 Thread Adrian Schmutzler
This backports the only non-cosmetic fix from 6640e1c3681b ("ramips: clean and improve MAC address setup in 02_network"). Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/RT-AC57U.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/RT-AC57U

[OpenWrt-Devel] [PATCH 19.07 2/3] ramips: fix duplicate network setup for dlink, dir-615-h1

2019-09-07 Thread Adrian Schmutzler
In 555ca422d1cb ("ramips: fix D-Link DIR-615 H1 switch port mapping"), port setup for dir-615-h1 was changed without removing the old one. This was working as the new one was triggered earlier than the old one. (In the meantine, changed sorting during ramips rename patches actually inversed that o

[OpenWrt-Devel] [PATCH 19.07 1/3] ramips: remove duplicate case for MAC setup of freestation5

2019-09-07 Thread Adrian Schmutzler
ARC FreeStation5 is present twice in MAC address setup. >From older commits/changes, it is not possible to reconstruct the correct choice only by reading the annotations. Thus, remove the second case and keep the first one, so behavior stays the same (as nobody seems to have complained about it).

Re: [OpenWrt-Devel] Migration in ath79 for swapped ethernet

2019-09-07 Thread mail
Hi, > > However, this will obviously swap eth0/eth1 on EVERY upgrade, not just > when coming from ar71xx. > > So, does anyone have an idea how to limit this to run only when updated > from ar71xx? > > I was thinking about the same. As we have no information about the > previously installed platfo

Re: [OpenWrt-Devel] Migration in ath79 for swapped ethernet

2019-09-07 Thread David Bauer
Hello Adrian, On 9/5/19 5:00 PM, Adrian Schmutzler wrote: > Hi, > > if I remember correctly, there is still no mechanism to fix eth0/eth1 for > devices where those have been swapped from ar71xx to ath79. > > In principle, this can be done with a relatively small piece of code (not > tested): >