Commit Graph

9 Commits (d17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e)

Author SHA1 Message Date
Jo-Philipp Wich d17a64c7c0 base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
Out of 69 switch definitions, only 3 pass something different than "1" as
values for reset and enable, with one of those three being invalid.

This change ...

 * removes the reset and enable arguments from ucidef_add_switch()
 * unconditionally writes reset:1 and enable:1 to JSON
 * converts the three users of nonstandard values to ucidef_add_switch_attr()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47720
9 years ago
Jo-Philipp Wich 963fc89df2 ar71xx: switch network and led defaults to board detection framework
Also translate ucidef_add_switch_vlan() to ucidef_add_switch_ports() for better
switch topology mapping and improved default config generation.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47663
9 years ago
Jo-Philipp Wich 3fac6dde85 Revert "ar71xx: migrate led and network setup to board detection framework"
The board detect code needs more fixes in order to work properly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47641
9 years ago
John Crispin 1a092ce0e0 ar71xx: add GL-Domino Pi support V3
This is the patch for GL-Domino Pi V3. Updated against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47622
9 years ago
John Crispin a04c3e73a3 ar71xx: add GL-AR300 support V3
This is the patch for GL-AR300 V3, tested against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47621
9 years ago
John Crispin 72093bd528 ar71xx: add GL-AR150 support V3
This is the 3rd version. Modified against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47620
9 years ago
Jo-Philipp Wich 7fc4a4581b ar71xx: fix network default config of the TEW-732BR
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47595
9 years ago
John Crispin 99fd9a7041 ar71xx: add support for the devolo dLAN Hotspot
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 47554
9 years ago
Jo-Philipp Wich ade2c06d61 ar71xx: migrate led and network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47534
9 years ago