[brcm63xx] add support for 2.6.32, dropped the SPI patch for now
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 120-board_rta1025w_16.patch
1 Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c       2010-02-28 18:45:23.000000000 +0100
4 +++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c    2010-02-28 18:47:09.000000000 +0100
5 @@ -393,6 +393,25 @@
6          .has_ehci0 = 1,
7  };
8  
9 +static struct board_info __initdata board_rta1025w_16 = {
10 +       .name                           = "RTA1025W_16",
11 +       .expected_cpu_id                = 0x6348,
12 +
13 +       .has_enet0                      = 1,
14 +       .has_enet1                      = 1,
15 +       .has_pci                        = 1,
16 +
17 +       .enet0 = {
18 +               .has_phy                = 1,
19 +               .use_internal_phy       = 1,
20 +       },
21 +       .enet1 = {
22 +               .force_speed_100        = 1,
23 +               .force_duplex_full      = 1,
24 +       },
25 +};
26 +
27 +
28  static struct board_info __initdata board_DV201AMR = {
29         .name                           = "DV201AMR",
30         .expected_cpu_id                = 0x6348,
31 @@ -577,6 +596,7 @@
32         &board_FAST2404,
33         &board_DV201AMR,
34         &board_96348gw_a,
35 +       &board_rta1025w_16,
36  #endif
37  
38  #ifdef CONFIG_BCM63XX_CPU_6358