6571a61aa33b44d2801498a9b56d39932eb22b70
[openwrt/staging/rmilecki.git] / target / linux / brcm63xx / patches-3.10 / 553-boards_probe_switch.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -624,6 +624,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 @@ -667,6 +669,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 @@ -952,6 +956,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 @@ -1025,6 +1031,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 @@ -1254,6 +1262,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 @@ -1429,6 +1439,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 @@ -1543,6 +1555,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 @@ -1918,6 +1936,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 @@ -1970,6 +1990,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 @@ -2110,6 +2132,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 @@ -2227,6 +2251,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 },