[OpenWrt-Devel] [PATCH 0/6] ramips: use flash location for wan_mac in 02_network

Adrian Schmutzler freifunk at adrianschmutzler.de
Sun Dec 8 10:32:49 EST 2019


This uses the flash locations instead of eth0 MAC address to
alculate MAC address increments for WAN is 02_network.

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.
As a side effect, changes to ethernet MAC address setup won't
indirectly affect wan_mac anymore.

This should both help people trying to improve MAC setup further
in the future and make obvious to device supporters that setting
MAC address is more than just having eth0 +1.

Adrian Schmutzler (6):
  ramips: remove wan_mac setup for evaluation boards
  ramips: mt7620: use flash location for wan_mac in 02_network
  ramips: mt7621: use flash location for wan_mac in 02_network
  ramips: mt76x8: use flash location for wan_mac in 02_network
  ramips: rt288x: use flash location for wan_mac in 02_network
  ramips: rt305x: use flash location for wan_mac in 02_network

 .../dts/mt7628an_zyxel_keenetic-extra-ii.dts  |   2 +-
 .../ramips/dts/rt3050_dlink_dir-300-b1.dts    |   2 +-
 .../ramips/dts/rt5350_7links_px-4885-4m.dts   |   2 +-
 .../ramips/dts/rt5350_7links_px-4885-8m.dts   |   2 +-
 .../ramips/dts/rt5350_7links_px-4885.dtsi     |   4 +-
 .../mt7620/base-files/etc/board.d/02_network  |  32 +++---
 .../mt7621/base-files/etc/board.d/02_network  |  43 +++++---
 .../mt76x8/base-files/etc/board.d/02_network  |  47 ++++----
 .../rt288x/base-files/etc/board.d/02_network  |   9 +-
 .../rt305x/base-files/etc/board.d/02_network  | 100 ++++++++++--------
 10 files changed, 136 insertions(+), 107 deletions(-)

-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list