kernel: add some missing config options for 4.1
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 553-boards_probe_switch.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -423,6 +423,10 @@ 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 + .has_phy = 1,
10 + .phy_id = 0,
11 .force_speed_100 = 1,
12 .force_duplex_full = 1,
13 },
14 @@ -541,6 +545,8 @@ static struct board_info __initdata boar
15 .use_internal_phy = 1,
16 },
17 .enet1 = {
18 + .has_phy = 1,
19 + .phy_id = 0,
20 .force_speed_100 = 1,
21 .force_duplex_full = 1,
22 },
23 @@ -574,6 +580,8 @@ static struct board_info __initdata boar
24 },
25
26 .enet1 = {
27 + .has_phy = 1,
28 + .phy_id = 0,
29 .force_speed_100 = 1,
30 .force_duplex_full = 1,
31 },
32 @@ -721,6 +729,8 @@ static struct board_info __initdata boar
33 .use_internal_phy = 1,
34 },
35 .enet1 = {
36 + .has_phy = 1,
37 + .phy_id = 0,
38 .force_speed_100 = 1,
39 .force_duplex_full = 1,
40 },
41 @@ -783,6 +793,8 @@ static struct board_info __initdata boar
42 },
43
44 .enet1 = {
45 + .has_phy = 1,
46 + .phy_id = 0,
47 .force_speed_100 = 1,
48 .force_duplex_full = 1,
49 },
50 @@ -824,6 +836,8 @@ static struct board_info __initdata boar
51 .use_internal_phy = 1,
52 },
53 .enet1 = {
54 + .has_phy = 1,
55 + .phy_id = 0,
56 .force_speed_100 = 1,
57 .force_duplex_full = 1,
58 },
59 @@ -846,6 +860,8 @@ static struct board_info __initdata boar
60 .use_internal_phy = 1,
61 },
62 .enet1 = {
63 + .has_phy = 1,
64 + .phy_id = 0,
65 .force_speed_100 = 1,
66 .force_duplex_full = 1,
67 },
68 @@ -866,6 +882,8 @@ static struct board_info __initdata boar
69 .use_internal_phy = 1,
70 },
71 .enet1 = {
72 + .has_phy = 1,
73 + .phy_id = 0,
74 .force_speed_100 = 1,
75 .force_duplex_full = 1,
76 },
77 @@ -1095,6 +1113,8 @@ static struct board_info __initdata boar
78 },
79
80 .enet1 = {
81 + .has_phy = 1,
82 + .phy_id = 0,
83 .force_speed_100 = 1,
84 .force_duplex_full = 1,
85 },
86 @@ -1120,6 +1140,12 @@ static struct board_info __initdata boar
87 },
88
89 .enet1 = {
90 + .has_phy = 1,
91 + .phy_id = 0,
92 + .has_phy = 1,
93 + .phy_id = 0,
94 + .has_phy = 1,
95 + .phy_id = 0,
96 .force_speed_100 = 1,
97 .force_duplex_full = 1,
98 },