summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-13 12:20:53 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-13 12:20:53 +0000
commit17984c3bab278e1aed28dec6558943e4f445a2b4 (patch)
tree56a8761ede17547e43c5e71ab11ac2f1dfd15ed0 /target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
parente4eedbb9460a20f0d5d041472481141e85f31cec (diff)
[brcm63xx] add missing alice gate2 leds (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch25
1 files changed, 5 insertions, 20 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch b/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
index a3b19b774..38ab54c58 100644
--- a/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/221-board-NB4.patch
@@ -1,7 +1,5 @@
-Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
-===================================================================
---- linux-2.6.32.13.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:45:09.000000000 -0400
-+++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:46:39.000000000 -0400
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -17,6 +17,7 @@
#include <linux/ssb/ssb.h>
#include <linux/gpio_buttons.h>
@@ -23,7 +21,7 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
static struct bcm963xx_nvram nvram;
static unsigned int mac_addr_used;
static struct board_info board;
-@@ -697,6 +704,471 @@
+@@ -727,6 +734,471 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -495,7 +493,7 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
#endif
/*
-@@ -727,9 +1199,30 @@
+@@ -757,9 +1229,30 @@ static const struct board_info __initdat
&board_96358vw2,
&board_AGPFS0,
&board_DWVS0,
@@ -526,7 +524,7 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
/*
* early init callback, read nvram data from flash and checksum it
*/
-@@ -777,6 +1270,9 @@
+@@ -807,6 +1300,9 @@ void __init board_prom_init(void)
return;
}
@@ -536,16 +534,3 @@ Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
/* find board by name */
for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
if (strncmp(nvram.name, bcm963xx_boards[i]->name,
-Index: linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-===================================================================
---- linux-2.6.32.13.orig/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:44:35.000000000 -0400
-+++ linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:47:03.000000000 -0400
-@@ -55,7 +55,7 @@
- struct bcm63xx_dsp_platform_data dsp;
-
- /* GPIO LEDs */
-- struct gpio_led leds[5];
-+ struct gpio_led leds[9];
-
- /* Buttons */
- struct gpio_button buttons[2];