mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 12:21:34 +04:00
ramips: fix switch setup for AXIMCom MR-102N
Commita43cbfe2e3("ramips: remove default switch setup in 02_network") added aximcom,mr-102n to two cases in ramips_setup_interfaces: the generic "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" switch setup, and a dedicated "4:lan" "6@eth0" one. As the first matching case wins, the dedicated setup was never used, and port 4 is set up as WAN. The dedicated setup is the intended one: before that commit, the board used eth0.2 as its only LAN interface, and the DTS sets the switch portmap to 0x2f, which leaves port 4 as the only port outside of the default LAN group, so eth0.2 maps to port 4. With the generic setup, this LAN port ends up as WAN. Remove the board from the generic case so the dedicated one is used. Fixes:a43cbfe2e3("ramips: remove default switch setup in 02_network") Signed-off-by: Christoph Krapp <achterin@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Link: https://github.com/openwrt/openwrt/pull/26609 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
c4acd16e4c
commit
396f223d3d
1 file changed
-1
@@ -66,7 +66,6 @@ ramips_setup_interfaces()
|
||||
airlive,air3gii|\
|
||||
asus,rt-g32-b1|\
|
||||
asus,rt-n13u|\
|
||||
aximcom,mr-102n|\
|
||||
buffalo,whr-g300n|\
|
||||
dlink,dap-1350|\
|
||||
dlink,dir-300-b1|\
|
||||
|
||||
Reference in new issue
Block a user