aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/etc/board.d/01_detect
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: fix switch port mapping on Asus RT-N12 and RT-N16 modelsJo-Philipp Wich2017-11-101-0/+2
| | | | | | | | | | | | | | | | On Asus RT-N12 and RT-N16 models, the WAN and LAN4 ports are swapped in the initial switch configuration since the presets present in nvram appear to be wrong. Add special casing for these models to detect_by_model() in order to ensure a proper switch configuration. Fixes FS#502. (cherry picked from commit 96ed69101da254b0cb61a0dfc42bd48d27bfacb9 and squashed with commit f2fdd68664cdf09075e6f18b20946e41a22284b2) Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: remove bad local shell variable declarationsJo-Philipp Wich2016-09-241-3/+3
| | | | | | | Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm47xx: fix wgt634u port assignment, broken since openwrt r47866Russell Senior2016-05-101-1/+1
| | | | Signed-off-by: Russell Senior <russell@personaltelco.net>
* brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1Jo-Philipp Wich2016-01-271-0/+5
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48511
* brcm47xx: fix switch config for devices with WAN port 0Rafał Miłecki2015-12-181-0/+14
| | | | | | | | | Commit r47866 dropped default values which were handling WAN interface at port 0. Fix it by handling 2 more cases on NVRAM values. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47932
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* brcm47xx: migrate network config to board detection frameworkJo-Philipp Wich2015-12-111-0/+170
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47866