firmware/src/packages/fff
Adrian Schmutzler 539406d96b fff-network: fix primary port for Nanostation M
Migration from ar71xx to ath79 included changes to the ethernet/switch
driver for the target. This introduced a peculiar issue where
eth0 and eth1 are swapped for several devices. Most of the relevant
cases were already covered in 1cf4d762ff ("treewide: move devices
from ar71xx to ath79").

This switch also affects the Nanostation M, where the PoE-in port
is now eth1 und the PoE-out port is eth0. However, no action was
taken in the referenced patch, as nobody was aware of it then.

Since the Nanostation M is a two-port device, which we cannot
implement properly so far, it was implemented as a one-port with
the "primary" PoE-in port so far. This was broken by the ath79
introduction and is now fixed in this patch by using the one-port
setup on eth1. That way, the PoE-in port can now be switched by
ETHMODE as usual again.

Note that custom scripts, e.g. to set up the second port, need to
be adjusted manually, as that one is eth0 now.

Fixes: 1cf4d762ff ("treewide: move devices from ar71xx to ath79")
Fixes: #109 (gitea)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Fabian Bläse <fabian@blaese.de>
2021-02-18 01:19:24 +01:00
..
alfred-json alfred-json: Set PKG_VERSION to latest official version 2019-07-01 21:37:23 +02:00
fff fff: create proper package variants instead of copying file 2021-02-09 22:54:05 +01:00
fff-alfred packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-alfred-monitoring-proxy packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-babeld Revert "fff-babeld: Add rule to lookup in fff table for everything except wireguard" 2021-01-31 14:05:26 +01:00
fff-batman-adv packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-boardname packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-config packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-dhcp fff-dhcp: fix indexing and output in uci-defaults 2021-02-09 22:59:18 +01:00
fff-fastd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-firewall packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-hoods fff-hoods: Allow correct ula_prefix syntax in hoodfiles 2021-01-31 14:08:09 +01:00
fff-hoodutils packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-layer3 packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-layer3-config fff-layer3-config: Add script to set wan vlan/interface 2021-02-09 22:46:58 +01:00
fff-macnock treewide: rename br-mesh to br-client 2020-12-22 13:41:44 +01:00
fff-network fff-network: fix primary port for Nanostation M 2021-02-18 01:19:24 +01:00
fff-node packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-nodewatcher packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-ra packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-random packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-simple-tc packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-support fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
fff-sysupgrade packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-timeserver packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-uradvd packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-vpn-select packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-hood packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-web-ui fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
fff-wireguard packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00
fff-wireless packages/fff: drop redundant PKG_BUILD_DIR 2021-01-27 20:22:02 +01:00