Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing...
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.27 / 013-bcm96358vw.patch
1 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
2 --- linux-2.6.27/arch/mips/bcm63xx/boards/board_bcm963xx.c 2008-10-20 14:24:02.000000000 +0200
3 +++ linux-2.6.27.new/arch/mips/bcm63xx/boards/board_bcm963xx.c 2008-10-20 14:28:15.000000000 +0200
4 @@ -68,6 +68,30 @@
5 * known 6358 boards
6 */
7 #ifdef CONFIG_BCM63XX_CPU_6358
8 +static struct board_info __initdata board_96358vw = {
9 + .name = "96358VW",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_enet0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet0 = {
17 + .has_phy = 1,
18 + .use_internal_phy = 1,
19 + },
20 +
21 + .enet1 = {
22 + .force_speed_100 = 1,
23 + .force_duplex_full = 1,
24 + },
25 +
26 +
27 + .has_ohci0 = 1,
28 + .has_pccard = 1,
29 + .has_ehci0 = 1,
30 +};
31 +
32 static struct board_info __initdata board_96358vw2 = {
33 .name = "96358VW2",
34 .expected_cpu_id = 0x6358,
35 @@ -103,6 +127,7 @@
36 #endif
37
38 #ifdef CONFIG_BCM63XX_CPU_6358
39 + &board_96358vw,
40 &board_96358vw2,
41 #endif
42 };