From: Jonas Gorski Date: Mon, 4 Jun 2012 08:35:25 +0000 (+0000) Subject: bcm63xx: fix ethernet on 96328avng and 963281TAN X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ffea8eb913378252b8cb29849cc3c5050036dc4f;p=openwrt%2Fstaging%2Fwigyori.git bcm63xx: fix ethernet on 96328avng and 963281TAN The internal switch did not get registered. SVN-Revision: 32041 --- diff --git a/target/linux/brcm63xx/patches-3.3/522-MIPS-BCM63XX-add-96328avng-reference-board.patch b/target/linux/brcm63xx/patches-3.3/522-MIPS-BCM63XX-add-96328avng-reference-board.patch index 41ac445608..32c1b1d856 100644 --- a/target/linux/brcm63xx/patches-3.3/522-MIPS-BCM63XX-add-96328avng-reference-board.patch +++ b/target/linux/brcm63xx/patches-3.3/522-MIPS-BCM63XX-add-96328avng-reference-board.patch @@ -4,12 +4,12 @@ Date: Tue, 29 May 2012 10:52:25 +0200 Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board --- - arch/mips/bcm63xx/boards/board_bcm963xx.c | 75 +++++++++++++++++++++++++++++ - 1 files changed, 75 insertions(+), 0 deletions(-) + arch/mips/bcm63xx/boards/board_bcm963xx.c | 77 +++++++++++++++++++++++++++++ + 1 files changed, 77 insertions(+), 0 deletions(-) --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -54,6 +54,78 @@ +@@ -54,6 +54,80 @@ static struct board_info board; /* @@ -23,6 +23,8 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board + .has_uart0 = 1, + .has_pci = 1, + ++ .has_enetsw = 1, ++ + .enetsw = { + .used_ports = { + [0] = { @@ -88,7 +90,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board * known 6338 boards */ #ifdef CONFIG_BCM63XX_CPU_6338 -@@ -2160,6 +2232,9 @@ static struct board_info __initdata boar +@@ -2160,6 +2234,9 @@ static struct board_info __initdata boar * all boards */ static const struct board_info __initdata *bcm963xx_boards[] = { diff --git a/target/linux/brcm63xx/patches-3.3/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch b/target/linux/brcm63xx/patches-3.3/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch index ae041ccf0e..928d6ab19f 100644 --- a/target/linux/brcm63xx/patches-3.3/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch +++ b/target/linux/brcm63xx/patches-3.3/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch @@ -4,12 +4,12 @@ Date: Tue, 29 May 2012 11:01:12 +0200 Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board --- - arch/mips/bcm63xx/boards/board_bcm963xx.c | 69 +++++++++++++++++++++++++++++ - 1 files changed, 69 insertions(+), 0 deletions(-) + arch/mips/bcm63xx/boards/board_bcm963xx.c | 71 +++++++++++++++++++++++++++++ + 1 files changed, 71 insertions(+), 0 deletions(-) --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -123,6 +123,74 @@ static struct board_info __initdata boar +@@ -125,6 +125,76 @@ static struct board_info __initdata boar }, }, }; @@ -21,6 +21,8 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board + .has_uart0 = 1, + .has_pci = 1, + ++ .has_enetsw = 1, ++ + .enetsw = { + .used_ports = { + [0] = { @@ -84,7 +86,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board #endif /* -@@ -2234,6 +2302,7 @@ static struct board_info __initdata boar +@@ -2236,6 +2306,7 @@ static struct board_info __initdata boar static const struct board_info __initdata *bcm963xx_boards[] = { #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, diff --git a/target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch b/target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch index 0de01a7c28..9940fec65f 100644 --- a/target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch +++ b/target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch @@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -191,6 +191,109 @@ static struct board_info __initdata boar +@@ -195,6 +195,109 @@ static struct board_info __initdata boar }, }; @@ -120,7 +120,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link #endif /* -@@ -2303,6 +2406,7 @@ static const struct board_info __initdat +@@ -2307,6 +2410,7 @@ static const struct board_info __initdat #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, &board_963281TAN, diff --git a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch index 1931e75032..94be834d0d 100644 --- a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch +++ b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1548,6 +1548,99 @@ static struct board_info __initdata boar +@@ -1552,6 +1552,99 @@ static struct board_info __initdata boar .has_ohci0 = 1, .has_ehci0 = 1, diff --git a/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch b/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch index ca57741dd2..7e99c4beb9 100644 --- a/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch +++ b/target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1328,6 +1328,19 @@ static struct board_info __initdata boar +@@ -1332,6 +1332,19 @@ static struct board_info __initdata boar }, .has_ohci0 = 1, diff --git a/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch b/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch index 1ef7e0144f..914bf38443 100644 --- a/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch +++ b/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -906,6 +906,17 @@ static struct board_info __initdata boar +@@ -910,6 +910,17 @@ static struct board_info __initdata boar .active_low = 1, }, }, diff --git a/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch index f8c0894040..237f2cb9d3 100644 --- a/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch +++ b/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch @@ -8,7 +8,7 @@ #include #include #include -@@ -2599,7 +2600,7 @@ static void __init nb4_nvram_fixup(void) +@@ -2603,7 +2604,7 @@ static void __init nb4_nvram_fixup(void) * bcm4318 WLAN work */ #ifdef CONFIG_SSB_PCIHOST @@ -17,7 +17,7 @@ .revision = 0x02, .board_rev = 0x17, .country_code = 0x0, -@@ -2619,6 +2620,7 @@ static struct ssb_sprom bcm63xx_sprom = +@@ -2623,6 +2624,7 @@ static struct ssb_sprom bcm63xx_sprom = .boardflags_lo = 0x2848, .boardflags_hi = 0x0000, };