backport r20765 to backfire
[openwrt-10.03/.git] / target / linux / brcm63xx / patches-2.6.32 / 120-board_rta1025w_16.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -393,6 +393,25 @@ static struct board_info __initdata boar
4          .has_ehci0 = 1,
5  };
6  
7 +static struct board_info __initdata board_rta1025w_16 = {
8 +       .name                           = "RTA1025W_16",
9 +       .expected_cpu_id                = 0x6348,
10 +
11 +       .has_enet0                      = 1,
12 +       .has_enet1                      = 1,
13 +       .has_pci                        = 1,
14 +
15 +       .enet0 = {
16 +               .has_phy                = 1,
17 +               .use_internal_phy       = 1,
18 +       },
19 +       .enet1 = {
20 +               .force_speed_100        = 1,
21 +               .force_duplex_full      = 1,
22 +       },
23 +};
24 +
25 +
26  static struct board_info __initdata board_DV201AMR = {
27         .name                           = "DV201AMR",
28         .expected_cpu_id                = 0x6348,
29 @@ -577,6 +596,7 @@ static const struct board_info __initdat
30         &board_FAST2404,
31         &board_DV201AMR,
32         &board_96348gw_a,
33 +       &board_rta1025w_16,
34  #endif
35  
36  #ifdef CONFIG_BCM63XX_CPU_6358