mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
ipq53xx: fix cig wf189 eth MAC addr assignment
Fixes: WIFI-14313 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -12,9 +12,8 @@ ipq53xx_setup_interfaces()
|
|||||||
qcom,ipq9574-ap-al02-c4)
|
qcom,ipq9574-ap-al02-c4)
|
||||||
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
|
||||||
;;
|
;;
|
||||||
cig,wf189)
|
|
||||||
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
cig,wf189|\
|
||||||
;;
|
|
||||||
edgecore,eap105|\
|
edgecore,eap105|\
|
||||||
sercomm,ap72tip)
|
sercomm,ap72tip)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
@@ -30,7 +29,7 @@ qcom_setup_macs()
|
|||||||
cig,wf189)
|
cig,wf189)
|
||||||
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
||||||
[ -z "$mtd" ] && return;
|
[ -z "$mtd" ] && return;
|
||||||
mac=$(grep BaseMacAddress= $mtd | cut -dx -f2)
|
mac=$(grep eth1addr= $mtd | cut -d= -f2)
|
||||||
[ -z "$mac" ] && return;
|
[ -z "$mac" ] && return;
|
||||||
wan_mac=$(macaddr_canonicalize $mac)
|
wan_mac=$(macaddr_canonicalize $mac)
|
||||||
lan_mac=$(macaddr_add "$wan_mac" 1)
|
lan_mac=$(macaddr_add "$wan_mac" 1)
|
||||||
@@ -51,7 +50,7 @@ qcom_setup_macs()
|
|||||||
board_config_update
|
board_config_update
|
||||||
board=$(board_name)
|
board=$(board_name)
|
||||||
ipq53xx_setup_interfaces $board
|
ipq53xx_setup_interfaces $board
|
||||||
#qcom_setup_macs $board
|
qcom_setup_macs $board
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
#include "ipq5332-default-memory.dtsi"
|
#include "ipq5332-default-memory.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Qualcomm Technologies, Inc. IPQ5332/RDP468/AP-MI01.6";
|
model = "CIG WF189";
|
||||||
compatible = "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332-rdp468", "qcom,ipq5332";
|
compatible = "cig,wf189", "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332-rdp468", "qcom,ipq5332";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &blsp1_uart0;
|
serial0 = &blsp1_uart0;
|
||||||
|
|||||||
Reference in New Issue
Block a user