From 769fd460eed08459b820aaedec6bd3f1e24a8b6f Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 28 Apr 2013 21:11:17 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36482 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/diag.h | 1 + 1 file changed, 1 insertion(+) (limited to 'package/broadcom-diag/src/diag.h') diff --git a/package/broadcom-diag/src/diag.h b/package/broadcom-diag/src/diag.h index 698c37651..d9b5b006f 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 */ -- cgit v1.2.3