summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-28 20:50:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-28 20:50:51 +0000
commit984ac762e463a84395d1d7903234207c6bd984dd (patch)
treedf091f9c6f0aaf4809295c9157673469193b8a78 /target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch
parent32bba7d1540cae89123978a1d1e96f822f4131c6 (diff)
downloadmaster-31e0f0ae-984ac762e463a84395d1d7903234207c6bd984dd.tar.gz
master-31e0f0ae-984ac762e463a84395d1d7903234207c6bd984dd.tar.bz2
master-31e0f0ae-984ac762e463a84395d1d7903234207c6bd984dd.zip
add support for 2.6.32, dropped the SPI patch for now
SVN-Revision: 19919
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch b/target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch
new file mode 100644
index 0000000000..d12fa868ca
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.32/130-board_DWVS0.patch
@@ -0,0 +1,40 @@
+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:47:31.000000000 +0100
++++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:49:16.000000000 +0100
+@@ -575,6 +575,27 @@
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
+ };
++
++static struct board_info __initdata board_DWVS0 = {
++ .name = "DWV-S0",
++ .expected_cpu_id = 0x6358,
++
++ .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,
++ },
++
++ .has_ohci0 = 1,
++};
+ #endif
+
+ /*
+@@ -603,6 +624,7 @@
+ &board_96358vw,
+ &board_96358vw2,
+ &board_AGPFS0,
++ &board_DWVS0,
+ #endif
+ };
+