mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
rockchip: set network for MPC1903 (#10794)
This commit is contained in:
parent
c9e74f8630
commit
b77ab3b9ef
@ -25,6 +25,7 @@ rockchip_setup_interfaces()
|
|||||||
;;
|
;;
|
||||||
fastrhino,r66s|\
|
fastrhino,r66s|\
|
||||||
firefly,rk3568-roc-pc|\
|
firefly,rk3568-roc-pc|\
|
||||||
|
rocktech,mpc1903|\
|
||||||
radxa,e25)
|
radxa,e25)
|
||||||
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
|
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
|
||||||
;;
|
;;
|
||||||
@ -86,7 +87,8 @@ rockchip_setup_macs()
|
|||||||
friendlyarm,nanopi-r2c|\
|
friendlyarm,nanopi-r2c|\
|
||||||
friendlyarm,nanopi-r2s|\
|
friendlyarm,nanopi-r2s|\
|
||||||
friendlyarm,nanopi-r5s|\
|
friendlyarm,nanopi-r5s|\
|
||||||
sharevdi,guangmiao-g4c)
|
sharevdi,guangmiao-g4c|\
|
||||||
|
rocktech,mpc1903)
|
||||||
wan_mac=$(generate_mac_from_mmc_cid)
|
wan_mac=$(generate_mac_from_mmc_cid)
|
||||||
lan_mac=$(macaddr_add "$wan_mac" +1)
|
lan_mac=$(macaddr_add "$wan_mac" +1)
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user