diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-04-28 21:11:17 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-04-28 21:11:17 +0000 |
commit | ca7f9638d59b62454c660dd0342367b861764a80 (patch) | |
tree | 81066581934a264b3aec22c333f16bb267c84dfe /package/broadcom-diag/src/diag.h | |
parent | 8a3a7fdf07837bdb5da515592c4c4e74187fd817 (diff) | |
download | upstream-ca7f9638d59b62454c660dd0342367b861764a80.tar.gz upstream-ca7f9638d59b62454c660dd0342367b861764a80.tar.bz2 upstream-ca7f9638d59b62454c660dd0342367b861764a80.zip |
broadcom-diag: support for the WNDR3700v3
I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.
The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.
Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 36482
Diffstat (limited to 'package/broadcom-diag/src/diag.h')
-rw-r--r-- | package/broadcom-diag/src/diag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h index 698c376519..d9b5b006fe 100644 --- a/package/broadcom-diag/src/diag.h +++ b/package/broadcom-diag/src/diag.h @@ -104,6 +104,7 @@ static void register_leds(struct led_t *l); static void unregister_leds(struct led_t *l); static void set_led_extif(struct led_t *led); +static void set_led_shift(struct led_t *led); static void led_flash(unsigned long dummy); /* 2.4 compatibility */ |