summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-28 20:50:51 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-28 20:50:51 +0000
commita1bd9bdd429c9139a9e4bfd76adb2e491391dc7e (patch)
treebdba4afdca90282c214abee5f2aff4e9f37ce6ca /target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch
parent5a42dfc864792b29c31e866707cda3413129a5eb (diff)
[brcm63xx] add support for 2.6.32, dropped the SPI patch for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch b/target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch
new file mode 100644
index 0000000000..1cd04cbdcc
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.32/120-board_rta1025w_16.patch
@@ -0,0 +1,38 @@
+Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c
+===================================================================
+--- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:45:23.000000000 +0100
++++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:47:09.000000000 +0100
+@@ -393,6 +393,25 @@
+ .has_ehci0 = 1,
+ };
+
++static struct board_info __initdata board_rta1025w_16 = {
++ .name = "RTA1025W_16",
++ .expected_cpu_id = 0x6348,
++
++ .has_enet0 = 1,
++ .has_enet1 = 1,
++ .has_pci = 1,
++
++ .enet0 = {
++ .has_phy = 1,
++ .use_internal_phy = 1,
++ },
++ .enet1 = {
++ .force_speed_100 = 1,
++ .force_duplex_full = 1,
++ },
++};
++
++
+ static struct board_info __initdata board_DV201AMR = {
+ .name = "DV201AMR",
+ .expected_cpu_id = 0x6348,
+@@ -577,6 +596,7 @@
+ &board_FAST2404,
+ &board_DV201AMR,
+ &board_96348gw_a,
++ &board_rta1025w_16,
+ #endif
+
+ #ifdef CONFIG_BCM63XX_CPU_6358