ramips: rt305x: use flash location for wan_mac in 02_network
This uses the flash locations instead of eth0 MAC address to
calculate MAC address increments for WAN.
The change will make the MAC address setup of a particular device
more obvious and removes the dependency of 02_network on the eth0
initialization.
This removes the wan_mac setup for the following devices as they
do not set up a MAC address for ethernet in the first place:
- asiarf,awapn2403
- belkin,f7c027
- dlink,dir-615-d
- mofinetwork,mofi3500-3gn
- prolink,pwh2004
- ralink,v22rw-2x2
- unbranded,wr512-3gn-4m
- unbranded,wr512-3gn-8m
While at it, make some DT node labels consistent with the label
property.
Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
Showing
- target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts 1 addition, 1 deletiontarget/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
- target/linux/ramips/dts/rt5350_7links_px-4885-4m.dts 1 addition, 1 deletiontarget/linux/ramips/dts/rt5350_7links_px-4885-4m.dts
- target/linux/ramips/dts/rt5350_7links_px-4885-8m.dts 1 addition, 1 deletiontarget/linux/ramips/dts/rt5350_7links_px-4885-8m.dts
- target/linux/ramips/dts/rt5350_7links_px-4885.dtsi 2 additions, 2 deletionstarget/linux/ramips/dts/rt5350_7links_px-4885.dtsi
- target/linux/ramips/rt305x/base-files/etc/board.d/02_network 55 additions, 45 deletionstarget/linux/ramips/rt305x/base-files/etc/board.d/02_network
Loading
Please register or sign in to comment