summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-06-13 12:20:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-06-13 12:20:53 +0000
commitfb941964627b43473fa4dec2645ccc9f2df16f8a (patch)
treeb8568e24f15f9c55eef4900c0d6251dd2d084d65 /target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
parent0c5ef5387f05be9bb8d52673e9686b7d73dd9edc (diff)
downloadmtk-20170518-fb941964627b43473fa4dec2645ccc9f2df16f8a.zip
mtk-20170518-fb941964627b43473fa4dec2645ccc9f2df16f8a.tar.gz
mtk-20170518-fb941964627b43473fa4dec2645ccc9f2df16f8a.tar.bz2
add missing alice gate2 leds (#6743)
SVN-Revision: 21785
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch17
1 files changed, 3 insertions, 14 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch b/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
index 7c17b88..fd68fac 100644
--- a/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/221-board-NB4.patch
@@ -21,7 +21,7 @@
static struct bcm963xx_nvram nvram;
static unsigned int mac_addr_used;
static struct board_info board;
-@@ -713,6 +720,471 @@ static struct board_info __initdata boar
+@@ -743,6 +750,471 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -493,7 +493,7 @@
#endif
/*
-@@ -743,9 +1215,30 @@ static const struct board_info __initdat
+@@ -773,9 +1245,30 @@ static const struct board_info __initdat
&board_96358vw2,
&board_AGPFS0,
&board_DWVS0,
@@ -524,7 +524,7 @@
/*
* early init callback, read nvram data from flash and checksum it
*/
-@@ -793,6 +1286,9 @@ void __init board_prom_init(void)
+@@ -823,6 +1316,9 @@ void __init board_prom_init(void)
return;
}
@@ -534,14 +534,3 @@
/* find board by name */
for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
if (strncmp(nvram.name, bcm963xx_boards[i]->name,
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -55,7 +55,7 @@ struct board_info {
- struct bcm63xx_dsp_platform_data dsp;
-
- /* GPIO LEDs */
-- struct gpio_led leds[8];
-+ struct gpio_led leds[9];
-
- /* Buttons */
- struct gpio_button buttons[2];