ramips: mt7621: bringup dsa master on preinit
authorChuanhong Guo <gch981213@gmail.com>
Sat, 4 Apr 2020 08:30:16 +0000 (16:30 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 4 Apr 2020 08:30:16 +0000 (16:30 +0800)
commit4d979a4d1969b59e462ea4633eeb8c69111261c5
treec9a747fa2e3332bda2511eb884b8f17ceee36489
parent838f1fbb50e91ebaf1d34f9666ae6b65eb49df5c
ramips: mt7621: bringup dsa master on preinit

DSA requires master netdev to be up before any of its slave ports.
Bring it up during preinit so that the first lan port can be used
on failsafe.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master [new file with mode: 0644]