[brcm63xx] do not register devices in device_initcall level, this breaks the SSB...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 130-board_DWVS0.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:47:31.000000000 +0100
4 +++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c    2010-02-28 18:49:16.000000000 +0100
5 @@ -575,6 +575,27 @@
6         .has_ohci0 = 1,
7         .has_ehci0 = 1,
8  };
9 +
10 +static struct board_info __initdata board_DWVS0 = {
11 +       .name                           = "DWV-S0",
12 +       .expected_cpu_id                = 0x6358,
13 +
14 +       .has_enet0                      = 1,
15 +       .has_enet1                      = 1,
16 +       .has_pci                        = 1,
17 +
18 +       .enet0 = {
19 +               .has_phy                = 1,
20 +               .use_internal_phy       = 1,
21 +       },
22 +
23 +       .enet1 = {
24 +               .force_speed_100        = 1,
25 +               .force_duplex_full      = 1,
26 +       },
27 +
28 +       .has_ohci0 = 1,
29 +};
30  #endif
31  
32  /*
33 @@ -603,6 +624,7 @@
34         &board_96358vw,
35         &board_96358vw2,
36         &board_AGPFS0,
37 +       &board_DWVS0,
38  #endif
39  };
40