brcm63xx: add preliminary support for 3.13
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 553-boards_probe_switch.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -627,6 +627,8 @@ static struct board_info __initdata boar
4 .has_uart0 = 1,
5 .has_enet0 = 1,
6 .enet0 = {
7 + .has_phy = 1,
8 + .phy_id = 0,
9 .force_speed_100 = 1,
10 .force_duplex_full = 1,
11 },
12 @@ -670,6 +672,8 @@ static struct board_info __initdata boar
13 .has_uart0 = 1,
14 .has_enet0 = 1,
15 .enet0 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 .force_speed_100 = 1,
19 .force_duplex_full = 1,
20 },
21 @@ -955,6 +959,8 @@ static struct board_info __initdata boar
22 .use_internal_phy = 1,
23 },
24 .enet1 = {
25 + .has_phy = 1,
26 + .phy_id = 0,
27 .force_speed_100 = 1,
28 .force_duplex_full = 1,
29 },
30 @@ -1027,6 +1033,8 @@ static struct board_info __initdata boar
31 },
32
33 .enet1 = {
34 + .has_phy = 1,
35 + .phy_id = 0,
36 .force_speed_100 = 1,
37 .force_duplex_full = 1,
38 },
39 @@ -1256,6 +1264,8 @@ static struct board_info __initdata boar
40 .use_internal_phy = 1,
41 },
42 .enet1 = {
43 + .has_phy = 1,
44 + .phy_id = 0,
45 .force_speed_100 = 1,
46 .force_duplex_full = 1,
47 },
48 @@ -1431,6 +1441,8 @@ static struct board_info __initdata boar
49 },
50
51 .enet1 = {
52 + .has_phy = 1,
53 + .phy_id = 0,
54 .force_speed_100 = 1,
55 .force_duplex_full = 1,
56 },
57 @@ -1621,6 +1633,12 @@ static struct board_info __initdata boar
58 .use_internal_phy = 1,
59 },
60 .enet1 = {
61 + .has_phy = 1,
62 + .phy_id = 0,
63 + .has_phy = 1,
64 + .phy_id = 0,
65 + .has_phy = 1,
66 + .phy_id = 0,
67 .force_speed_100 = 1,
68 .force_duplex_full = 1,
69 },
70 @@ -2036,6 +2054,8 @@ static struct board_info __initdata boar
71 },
72
73 .enet1 = {
74 + .has_phy = 1,
75 + .phy_id = 0,
76 .force_speed_100 = 1,
77 .force_duplex_full = 1,
78 },
79 @@ -2088,6 +2108,8 @@ static struct board_info __initdata boar
80 },
81
82 .enet1 = {
83 + .has_phy = 1,
84 + .phy_id = 0,
85 .force_speed_100 = 1,
86 .force_duplex_full = 1,
87 },
88 @@ -2229,6 +2251,8 @@ static struct board_info __initdata boar
89 },
90
91 .enet1 = {
92 + .has_phy = 1,
93 + .phy_id = 0,
94 .force_speed_100 = 1,
95 .force_duplex_full = 1,
96 },
97 @@ -2346,6 +2370,8 @@ static struct board_info __initdata boar
98 },
99
100 .enet1 = {
101 + .has_phy = 1,
102 + .phy_id = 0,
103 .force_speed_100 = 1,
104 .force_duplex_full = 1,
105 },