rockchip: set network for MPC1903 (#10794)

This commit is contained in:
Lollipop907 2023-01-23 21:18:14 +08:00 committed by AmadeusGhost
parent c9e74f8630
commit b77ab3b9ef

View File

@ -25,6 +25,7 @@ rockchip_setup_interfaces()
;;
fastrhino,r66s|\
firefly,rk3568-roc-pc|\
rocktech,mpc1903|\
radxa,e25)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
@ -86,7 +87,8 @@ rockchip_setup_macs()
friendlyarm,nanopi-r2c|\
friendlyarm,nanopi-r2s|\
friendlyarm,nanopi-r5s|\
sharevdi,guangmiao-g4c)
sharevdi,guangmiao-g4c|\
rocktech,mpc1903)
wan_mac=$(generate_mac_from_mmc_cid)
lan_mac=$(macaddr_add "$wan_mac" +1)
;;