- May 14, 2017
-
-
Alberto Bursi authored
uci_set_leds_ataport() allows to set a led to show activity on a specific (s)ata port, which is needed for devices that have a Sata led for each sata port. The led trigger is from the 834-ledtrig-libata.patch LEDE kernel patch. uci_set_leds_usbhost() allows to set a led to show total usb activity. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it> [Jo-Philipp Wich: use a single underscore to denote private functions] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Alberto Bursi authored
create a function with code common to all led functions, create another function with code common to functions setting a simple led trigger, restore alphabetical order in function names. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it> [Jo-Philipp Wich: use a single underscore to denote private functions] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 03, 2017
-
-
Jo-Philipp Wich authored
Commit 2036ae4 (base-files: support hostname and ntp servers through board.d) was supposed to implement these procedures but lacked the required changes to uci-defaults.sh. Add the missing procedures now to fix config generation on targets relying on hostname or NTP server presetting. Fixes FS#754. Reported-by:
Cristian Morales Vega <cristian@samknows.com> Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Mar 11, 2017
-
-
Mathias Kresin authored
Overwrite an already set proto if a new one is passed to _ucidef_set_interface() similar to what is done for the interface. It is required when using ""ucidef_set_interface_wan 'ptm0' 'pppoe'" after some initial wan interface configuration is already done by ucidef_add_switch. The "json_is_a protocol string" guard is meant to not reset an earlier set interface proto in case something like "ucidef_set_interface_lan 'eth0'" is used afterwards. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- Feb 01, 2017
-
-
Jo-Philipp Wich authored
Instead of only using tagged CPU port configurations when more than one VLAN is present on the switch, always emit tagged configurations unless a board explicitely opts out of this behaviour by using the previously introduced [0-9]u@netdev syntax. Emitting default tagged configurations has the following benefits: - Relation of switch vlans to netdevs is easier to understand, especially for multi-cpu-port switches - Adding additional VLANs (e.g. to break out a LAN port for other purposes) becomes easier as users are not forced to change the existing untagged VLAN to tagged and the existing ifname notation from ethX to ethX.Y anymore, drastly reducing the likelyhood of soft-bricks. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 02, 2016
-
-
Jo-Philipp Wich authored
Introduce support for a new [0-9]u@netdev syntax to ucidev_add_switch() to let board.d network files request default network switch configurations which do not use tagged CPU ports. This commit itself has no effect on generated configurations at the moment since we still emit untagged configurations by default but it allows boards to opt-out from default tagged configs in case we start emitting tagged settings by default. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Oct 22, 2016
-
-
Rafał Miłecki authored
This helper allows using usbport trigger directly. It requires usbport compatible syntax and supports specifying multiple USB ports, e.g.: ucidef_set_led_usbport "usb" "USB" "devicename:colour:function" "usb1-port1" "usb2-port1" This adds a proper object to the board.json, e.g. "usb": { "name": "USB", "type": "usbport", "sysfs": "devicename:colour:function", "ports": [ "usb1-port1", "usb2-port1" ] } and supports translating it into uci section. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
- Aug 13, 2016
-
-
Jonas Gorski authored
Allow passing a filename to change the location of the generated board.json. Signed-off-by:
Jonas Gorski <jonas.gorski@gmail.com>
-
- Jun 07, 2016
-
-
Jo-Philipp Wich authored
Add support for handling port_state LEDs as used by ADM5120. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Mar 10, 2016
-
-
John Crispin authored
base-files: add function ucidef_set_interface_raw to enable default configuration on interfaces other than lan and wan. Signed-off-by:
Micke Prag <micke.prag@telldus.se> SVN-Revision: 48976
-
- Mar 07, 2016
-
-
Felix Fietkau authored
We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48941
-
- Feb 26, 2016
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48806
-
- Feb 25, 2016
-
-
Felix Fietkau authored
This patch adds extra parameter to switch LED trigger initialization functions. New functionality maintains backward compatibility, so calling functions without setting new speed_mask parameter works as expected. Signed-off-by:
Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48776
-
John Crispin authored
oneshot and timer have the same configuration options, just a different trigger name. Signed-off-by:
Karl Palsson <karlp@etactica.com> SVN-Revision: 48770
-
- Dec 11, 2015
-
-
Jo-Philipp Wich authored
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
-
- Sep 04, 2015
-
-
Jonas Gorski authored
Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46794
-
- Jul 14, 2015
-
-
John Crispin authored
Signed-off-by:
Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46341
-
- Jul 08, 2015
-
-
John Crispin authored
Internal GPIO pins are used for PoE passthrough setups in multi-port routers. This patch implemnets control over this hardware feature for Ubiquiti Nanostations and TP-Link CPE510. Signed-off-by:
Lars Kruse <lists@sumpfralle.de> SVN-Revision: 46271
-
- Feb 14, 2015
-
-
John Crispin authored
Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44446
-
- Jan 17, 2015
-
-
John Crispin authored
Signed-off-by:
Gerald Kerma <dreagle@doukki.net> SVN-Revision: 44000
-
- Oct 14, 2014
-
-
John Crispin authored
[base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by:
Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
-
- Oct 08, 2014
-
-
Steven Barth authored
This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 42848
-
- Sep 25, 2014
-
-
Florian Fainelli authored
Add a third argument to ucidef_set_interface_raw, which is specifying the protocol. Signed-off-by:
Florian Fainelli <florian@openwrt.org> SVN-Revision: 42665
-
- May 16, 2014
-
-
Felix Fietkau authored
This allows services to bind to it at boot time instead of waiting for a cable to be plugged in Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40773
-
- Jan 23, 2014
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 39372
-
- Apr 22, 2013
-
-
Steven Barth authored
SVN-Revision: 36384
-
- Apr 09, 2013
-
-
Steven Barth authored
SVN-Revision: 36278
-
- Aug 13, 2012
-
-
Gabor Juhos authored
Adds capability to add uci-defaults defining RSSI LEDs Signed-off-by:
Daniel Golle <dgolle@allnet.de> SVN-Revision: 33164
-
- May 29, 2012
-
-
Gabor Juhos authored
SVN-Revision: 31991
-
- Dec 01, 2011
-
-
Gabor Juhos authored
SVN-Revision: 29384
-
- Nov 22, 2011
-
-
John Crispin authored
lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups Signed-of-by:
Andrej Vlašić <andrej.vlasic0@gmail.com> SVN-Revision: 29292
-
- Nov 15, 2011
-
-
John Crispin authored
SVN-Revision: 29161
-