forked from freifunk-franken/firmware
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 in1cf4d762ff
("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>
This commit is contained in:
parent
bd15c7e178
commit
539406d96b
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fff-network
|
PKG_NAME:=fff-network
|
||||||
PKG_RELEASE:=32
|
PKG_RELEASE:=33
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
WANDEV=eth0
|
WANDEV=eth1
|
||||||
SWITCHDEV=eth0
|
SWITCHDEV=eth1
|
||||||
CLIENT_PORTS=""
|
CLIENT_PORTS=""
|
||||||
WAN_PORTS=""
|
WAN_PORTS=""
|
||||||
BATMAN_PORTS=""
|
BATMAN_PORTS=""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user