[openwrt/openwrt] bcm53xx: remove 07_set_preinit_iface_bcm53xx
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 25 13:18:58 PDT 2022
chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/d929abbbdeb7e035b1fb96f0b8c85bb951c1829d
commit d929abbbdeb7e035b1fb96f0b8c85bb951c1829d
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sat Jun 11 01:08:58 2022 +0200
bcm53xx: remove 07_set_preinit_iface_bcm53xx
with the switch to DSA setup, the switch gets correctly
programmed via the device-tree now. This hack is no
longer necessary.
Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
(cherry picked from commit 554ca44730731da6fddc51e1d3027c5e666a7d0d)
---
.../base-files/lib/preinit/07_set_preinit_iface_bcm53xx | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx b/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx
deleted file mode 100644
index 9e7c4b821e..0000000000
--- a/target/linux/bcm53xx/base-files/lib/preinit/07_set_preinit_iface_bcm53xx
+++ /dev/null
@@ -1,14 +0,0 @@
-set_preinit_iface() {
- . /lib/functions.sh
-
- case $(board_name) in
- meraki,mr32)
- # switch needs to be out of the vlan mode.
- swconfig dev switch0 set reset 1
- swconfig dev switch0 set enable_vlan 0
- swconfig dev switch0 set apply 1
- ;;
- esac
-}
-
-boot_hook_add preinit_main set_preinit_iface
More information about the lede-commits
mailing list