OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
3 | @@ -77,6 +77,8 @@ static struct board_info __initdata boar |
3 | @@ -77,6 +77,8 @@ static struct board_info __initdata boar |
|
4 | |
4 | |
|
5 | .has_enet0 = 1, |
5 | .has_enet0 = 1, |
|
6 | .enet0 = { |
6 | .enet0 = { |
|
7 | + .has_phy = 1, |
7 | + .has_phy = 1, |
|
8 | + .phy_id = 0, |
8 | + .phy_id = 0, |
|
9 | .force_speed_100 = 1, |
9 | .force_speed_100 = 1, |
|
10 | .force_duplex_full = 1, |
10 | .force_duplex_full = 1, |
|
11 | }, |
11 | }, |
|
12 | @@ -90,6 +92,8 @@ static struct board_info __initdata boar |
12 | @@ -90,6 +92,8 @@ static struct board_info __initdata boar |
|
13 | |
13 | |
|
14 | .has_enet0 = 1, |
14 | .has_enet0 = 1, |
|
15 | .enet0 = { |
15 | .enet0 = { |
|
16 | + .has_phy = 1, |
16 | + .has_phy = 1, |
|
17 | + .phy_id = 0, |
17 | + .phy_id = 0, |
|
18 | .force_speed_100 = 1, |
18 | .force_speed_100 = 1, |
|
19 | .force_duplex_full = 1, |
19 | .force_duplex_full = 1, |
|
20 | }, |
20 | }, |
|
21 | @@ -138,6 +142,8 @@ static struct board_info __initdata boar |
21 | @@ -138,6 +142,8 @@ static struct board_info __initdata boar |
|
22 | .use_internal_phy = 1, |
22 | .use_internal_phy = 1, |
|
23 | }, |
23 | }, |
|
24 | .enet1 = { |
24 | .enet1 = { |
|
25 | + .has_phy = 1, |
25 | + .has_phy = 1, |
|
26 | + .phy_id = 0, |
26 | + .phy_id = 0, |
|
27 | .force_speed_100 = 1, |
27 | .force_speed_100 = 1, |
|
28 | .force_duplex_full = 1, |
28 | .force_duplex_full = 1, |
|
29 | }, |
29 | }, |
|
30 | @@ -162,6 +168,8 @@ static struct board_info __initdata boar |
30 | @@ -170,6 +176,8 @@ static struct board_info __initdata boar |
|
31 | }, |
31 | }, |
|
32 | |
32 | |
|
33 | .enet1 = { |
33 | .enet1 = { |
|
34 | + .has_phy = 1, |
34 | + .has_phy = 1, |
|
35 | + .phy_id = 0, |
35 | + .phy_id = 0, |
|
36 | .force_speed_100 = 1, |
36 | .force_speed_100 = 1, |
|
37 | .force_duplex_full = 1, |
37 | .force_duplex_full = 1, |
|
38 | }, |
38 | }, |
|
39 | @@ -186,6 +194,8 @@ static struct board_info __initdata boar |
39 | @@ -194,6 +202,8 @@ static struct board_info __initdata boar |
|
40 | .use_internal_phy = 1, |
40 | .use_internal_phy = 1, |
|
41 | }, |
41 | }, |
|
42 | .enet1 = { |
42 | .enet1 = { |
|
43 | + .has_phy = 1, |
43 | + .has_phy = 1, |
|
44 | + .phy_id = 0, |
44 | + .phy_id = 0, |
|
45 | .force_speed_100 = 1, |
45 | .force_speed_100 = 1, |
|
46 | .force_duplex_full = 1, |
46 | .force_duplex_full = 1, |
|
47 | }, |
47 | }, |
|
48 | @@ -208,6 +218,8 @@ static struct board_info __initdata boar |
48 | @@ -224,6 +234,8 @@ static struct board_info __initdata boar |
|
49 | }, |
49 | }, |
|
50 | |
50 | |
|
51 | .enet1 = { |
51 | .enet1 = { |
|
52 | + .has_phy = 1, |
52 | + .has_phy = 1, |
|
53 | + .phy_id = 0, |
53 | + .phy_id = 0, |
|
54 | .force_speed_100 = 1, |
54 | .force_speed_100 = 1, |
|
55 | .force_duplex_full = 1, |
55 | .force_duplex_full = 1, |
|
56 | }, |
56 | }, |
|
57 | @@ -231,6 +243,8 @@ static struct board_info __initdata boar |
57 | @@ -247,6 +259,8 @@ static struct board_info __initdata boar |
|
58 | .use_internal_phy = 1, |
58 | .use_internal_phy = 1, |
|
59 | }, |
59 | }, |
|
60 | .enet1 = { |
60 | .enet1 = { |
|
61 | + .has_phy = 1, |
61 | + .has_phy = 1, |
|
62 | + .phy_id = 0, |
62 | + .phy_id = 0, |
|
63 | .force_speed_100 = 1, |
63 | .force_speed_100 = 1, |
|
64 | .force_duplex_full = 1, |
64 | .force_duplex_full = 1, |
|
65 | }, |
65 | }, |
|
66 | @@ -252,6 +266,8 @@ static struct board_info __initdata boar |
66 | @@ -268,6 +282,8 @@ static struct board_info __initdata boar |
|
67 | .use_internal_phy = 1, |
67 | .use_internal_phy = 1, |
|
68 | }, |
68 | }, |
|
69 | .enet1 = { |
69 | .enet1 = { |
|
70 | + .has_phy = 1, |
70 | + .has_phy = 1, |
|
71 | + .phy_id = 0, |
71 | + .phy_id = 0, |
|
72 | .force_speed_100 = 1, |
72 | .force_speed_100 = 1, |
|
73 | .force_duplex_full = 1, |
73 | .force_duplex_full = 1, |
|
74 | }, |
74 | }, |
|
75 | @@ -271,6 +287,8 @@ static struct board_info __initdata boar |
75 | @@ -287,6 +303,8 @@ static struct board_info __initdata boar |
|
76 | .use_internal_phy = 1, |
76 | .use_internal_phy = 1, |
|
77 | }, |
77 | }, |
|
78 | .enet1 = { |
78 | .enet1 = { |
|
79 | + .has_phy = 1, |
79 | + .has_phy = 1, |
|
80 | + .phy_id = 0, |
80 | + .phy_id = 0, |
|
81 | .force_speed_100 = 1, |
81 | .force_speed_100 = 1, |
|
82 | .force_duplex_full = 1, |
82 | .force_duplex_full = 1, |
|
83 | }, |
83 | }, |
|
84 | @@ -298,6 +316,8 @@ static struct board_info __initdata boar |
84 | @@ -314,6 +332,8 @@ static struct board_info __initdata boar |
|
85 | }, |
85 | }, |
|
86 | |
86 | |
|
87 | .enet1 = { |
87 | .enet1 = { |
|
88 | + .has_phy = 1, |
88 | + .has_phy = 1, |
|
89 | + .phy_id = 0, |
89 | + .phy_id = 0, |
|
90 | .force_speed_100 = 1, |
90 | .force_speed_100 = 1, |
|
91 | .force_duplex_full = 1, |
91 | .force_duplex_full = 1, |
|
92 | }, |
92 | }, |
|
93 | @@ -323,6 +343,8 @@ static struct board_info __initdata boar |
93 | @@ -339,6 +359,8 @@ static struct board_info __initdata boar |
|
94 | }, |
94 | }, |
|
95 | |
95 | |
|
96 | .enet1 = { |
96 | .enet1 = { |
|
97 | + .has_phy = 1, |
97 | + .has_phy = 1, |
|
98 | + .phy_id = 0, |
98 | + .phy_id = 0, |
|
99 | .force_speed_100 = 1, |
99 | .force_speed_100 = 1, |
|
100 | .force_duplex_full = 1, |
100 | .force_duplex_full = 1, |
|
101 | }, |
101 | }, |
|
102 | @@ -348,6 +370,8 @@ static struct board_info __initdata boar |
102 | @@ -364,6 +386,8 @@ static struct board_info __initdata boar |
|
103 | }, |
103 | }, |
|
104 | |
104 | |
|
105 | .enet1 = { |
105 | .enet1 = { |
|
106 | + .has_phy = 1, |
106 | + .has_phy = 1, |
|
107 | + .phy_id = 0, |
107 | + .phy_id = 0, |
|
108 | .force_speed_100 = 1, |
108 | .force_speed_100 = 1, |
|
109 | .force_duplex_full = 1, |
109 | .force_duplex_full = 1, |
|
110 | }, |
110 | }, |
|
111 | @@ -371,6 +395,8 @@ static struct board_info __initdata boar |
111 | @@ -387,6 +411,8 @@ static struct board_info __initdata boar |
|
112 | }, |
112 | }, |
|
113 | |
113 | |
|
114 | .enet1 = { |
114 | .enet1 = { |
|
115 | + .has_phy = 1, |
115 | + .has_phy = 1, |
|
116 | + .phy_id = 0, |
116 | + .phy_id = 0, |
|
117 | .force_speed_100 = 1, |
117 | .force_speed_100 = 1, |
|
118 | .force_duplex_full = 1, |
118 | .force_duplex_full = 1, |
|
119 | }, |
119 | }, |
|
120 | |
120 | |