summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-20 12:55:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-20 12:55:28 +0000
commit33ffd60e664552e17b6f883303f8b3dff8abe8f9 (patch)
tree1d8dac7f662c0b848275ec169a22dfa28a434cbe /target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch
parent31aa2c05fbab96ab9d8ab2eb6da5e2484c636cf9 (diff)
Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch b/target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch
new file mode 100644
index 000000000..f7f16a601
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.27/013-bcm96358vw.patch
@@ -0,0 +1,42 @@
+diff -urN linux-2.6.27/arch/mips/bcm63xx/boards/board_bcm963xx.c linux-2.6.27.new/arch/mips/bcm63xx/boards/board_bcm963xx.c
+--- linux-2.6.27/arch/mips/bcm63xx/boards/board_bcm963xx.c 2008-10-20 14:24:02.000000000 +0200
++++ linux-2.6.27.new/arch/mips/bcm63xx/boards/board_bcm963xx.c 2008-10-20 14:28:15.000000000 +0200
+@@ -68,6 +68,30 @@
+ * known 6358 boards
+ */
+ #ifdef CONFIG_BCM63XX_CPU_6358
++static struct board_info __initdata board_96358vw = {
++ .name = "96358VW",
++ .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,
++ .has_pccard = 1,
++ .has_ehci0 = 1,
++};
++
+ static struct board_info __initdata board_96358vw2 = {
+ .name = "96358VW2",
+ .expected_cpu_id = 0x6358,
+@@ -103,6 +127,7 @@
+ #endif
+
+ #ifdef CONFIG_BCM63XX_CPU_6358
++ &board_96358vw,
+ &board_96358vw2,
+ #endif
+ };