Commit graph

113 commits

Author SHA1 Message Date
Daniel Dickinson
8fa9b24a4c bcm63xx: Allow 'colored' power leds.
Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24187
2010-11-28 22:04:30 +00:00
Daniel Dickinson
fec30c8c80 bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
Daniel Dickinson
b1b318750a bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24185
2010-11-28 22:04:19 +00:00
Daniel Dickinson
a5fdf57a1b base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
2010-08-02 19:33:08 +00:00
Daniel Dickinson
d391ca2c8c base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
SVN-Revision: 22465
2010-08-02 19:32:59 +00:00
Daniel Dickinson
40c53c6556 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21629
2010-05-30 01:33:20 +00:00
Daniel Dickinson
82edb6eafa brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21628
2010-05-30 01:33:09 +00:00
Daniel Dickinson
cc8fba8441 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
SVN-Revision: 21627
2010-05-30 01:32:58 +00:00
Daniel Dickinson
bd8cfa63f4 brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21626
2010-05-30 01:32:47 +00:00
Florian Fainelli
a0a85ba7c6 we are using the default-on trigger for power LEDs, no need to change their state from userspace
SVN-Revision: 16892
2009-07-18 09:27:33 +00:00
Florian Fainelli
ecad504c39 register GPIO-connected LEDs for known boards
SVN-Revision: 16887
2009-07-18 00:40:23 +00:00
Florian Fainelli
0d7f5f8d2c add support for sysupgrade (#5117)
SVN-Revision: 15900
2009-05-17 16:53:57 +00:00
Florian Fainelli
4fc7535fc7 Make 4-port LAN and 1 port wan configurations work
SVN-Revision: 13362
2008-11-26 15:51:55 +00:00