diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-16 18:07:03 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-17 15:09:48 +0100 |
commit | f45a16dead15169f06a999f71061e66df1fc478c (patch) | |
tree | 4fabc0bcafe66c3d6a9fc497d111ee029ed54c6f /scripts/functions.sh | |
parent | 38bdfcdb87e9b3a1232e9820bd6534da4c28282b (diff) | |
download | upstream-f45a16dead15169f06a999f71061e66df1fc478c.tar.gz upstream-f45a16dead15169f06a999f71061e66df1fc478c.tar.bz2 upstream-f45a16dead15169f06a999f71061e66df1fc478c.zip |
ramips: allow to set switchdev by board in ramips_set_preinit_iface
This adds the option to determine switchdev by board when setting
preinit iface for failsafe. The patch reorganizes the code to use
functions for setting correct switchdev based on SOC and board,
which is supposed to improve readability and maintainability.
In this patch, the ramips_switchdev_from_board function is added
without specifying an actual device using it. This is meant to
make the life of device supporters waiting for merge easier, as
there is less to rebase and keep track of.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'scripts/functions.sh')
0 files changed, 0 insertions, 0 deletions