OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 997f53b174c63153335508c22dc4493e8e5808d6 Mon Sep 17 00:00:00 2001 |
2 | From: Jonas Gorski <jogo@openwrt.org> |
||
3 | Date: Sun, 22 Feb 2015 17:52:32 +0100 |
||
4 | Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons |
||
5 | |||
6 | --- |
||
7 | arch/mips/bcm63xx/boards/board_bcm963xx.c | 262 ----------------------------- |
||
8 | 1 file changed, 262 deletions(-) |
||
9 | |||
10 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
||
11 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
||
12 | @@ -43,14 +43,6 @@ static struct board_info __initdata boar |
||
13 | .use_internal_phy = 1, |
||
14 | }, |
||
15 | |||
16 | - .leds = { |
||
17 | - { |
||
18 | - .name = "CVG834G:green:power", |
||
19 | - .gpio = 37, |
||
20 | - .default_trigger= "default-on", |
||
21 | - }, |
||
22 | - }, |
||
23 | - |
||
24 | .ephy_reset_gpio = 36, |
||
25 | .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW, |
||
26 | }; |
||
27 | @@ -72,35 +64,6 @@ static struct board_info __initdata boar |
||
28 | .use_fullspeed = 0, |
||
29 | .port_no = 0, |
||
30 | }, |
||
31 | - |
||
32 | - .leds = { |
||
33 | - { |
||
34 | - .name = "96328avng::ppp-fail", |
||
35 | - .gpio = 2, |
||
36 | - .active_low = 1, |
||
37 | - }, |
||
38 | - { |
||
39 | - .name = "96328avng::power", |
||
40 | - .gpio = 4, |
||
41 | - .active_low = 1, |
||
42 | - .default_trigger = "default-on", |
||
43 | - }, |
||
44 | - { |
||
45 | - .name = "96328avng::power-fail", |
||
46 | - .gpio = 8, |
||
47 | - .active_low = 1, |
||
48 | - }, |
||
49 | - { |
||
50 | - .name = "96328avng::wps", |
||
51 | - .gpio = 9, |
||
52 | - .active_low = 1, |
||
53 | - }, |
||
54 | - { |
||
55 | - .name = "96328avng::ppp", |
||
56 | - .gpio = 11, |
||
57 | - .active_low = 1, |
||
58 | - }, |
||
59 | - }, |
||
60 | }; |
||
61 | #endif |
||
62 | |||
63 | @@ -119,35 +82,6 @@ static struct board_info __initdata boar |
||
64 | }, |
||
65 | |||
66 | .has_ohci0 = 1, |
||
67 | - |
||
68 | - .leds = { |
||
69 | - { |
||
70 | - .name = "adsl", |
||
71 | - .gpio = 3, |
||
72 | - .active_low = 1, |
||
73 | - }, |
||
74 | - { |
||
75 | - .name = "ses", |
||
76 | - .gpio = 5, |
||
77 | - .active_low = 1, |
||
78 | - }, |
||
79 | - { |
||
80 | - .name = "ppp-fail", |
||
81 | - .gpio = 4, |
||
82 | - .active_low = 1, |
||
83 | - }, |
||
84 | - { |
||
85 | - .name = "power", |
||
86 | - .gpio = 0, |
||
87 | - .active_low = 1, |
||
88 | - .default_trigger = "default-on", |
||
89 | - }, |
||
90 | - { |
||
91 | - .name = "stop", |
||
92 | - .gpio = 1, |
||
93 | - .active_low = 1, |
||
94 | - } |
||
95 | - }, |
||
96 | }; |
||
97 | |||
98 | static struct board_info __initdata board_96338w = { |
||
99 | @@ -159,35 +93,6 @@ static struct board_info __initdata boar |
||
100 | .force_speed_100 = 1, |
||
101 | .force_duplex_full = 1, |
||
102 | }, |
||
103 | - |
||
104 | - .leds = { |
||
105 | - { |
||
106 | - .name = "adsl", |
||
107 | - .gpio = 3, |
||
108 | - .active_low = 1, |
||
109 | - }, |
||
110 | - { |
||
111 | - .name = "ses", |
||
112 | - .gpio = 5, |
||
113 | - .active_low = 1, |
||
114 | - }, |
||
115 | - { |
||
116 | - .name = "ppp-fail", |
||
117 | - .gpio = 4, |
||
118 | - .active_low = 1, |
||
119 | - }, |
||
120 | - { |
||
121 | - .name = "power", |
||
122 | - .gpio = 0, |
||
123 | - .active_low = 1, |
||
124 | - .default_trigger = "default-on", |
||
125 | - }, |
||
126 | - { |
||
127 | - .name = "stop", |
||
128 | - .gpio = 1, |
||
129 | - .active_low = 1, |
||
130 | - }, |
||
131 | - }, |
||
132 | }; |
||
133 | #endif |
||
134 | |||
135 | @@ -217,36 +122,6 @@ static struct board_info __initdata boar |
||
136 | .has_phy = 1, |
||
137 | .use_internal_phy = 1, |
||
138 | }, |
||
139 | - |
||
140 | - .leds = { |
||
141 | - { |
||
142 | - .name = "adsl-fail", |
||
143 | - .gpio = 2, |
||
144 | - .active_low = 1, |
||
145 | - }, |
||
146 | - { |
||
147 | - .name = "ppp", |
||
148 | - .gpio = 3, |
||
149 | - .active_low = 1, |
||
150 | - }, |
||
151 | - { |
||
152 | - .name = "ppp-fail", |
||
153 | - .gpio = 4, |
||
154 | - .active_low = 1, |
||
155 | - }, |
||
156 | - { |
||
157 | - .name = "power", |
||
158 | - .gpio = 0, |
||
159 | - .active_low = 1, |
||
160 | - .default_trigger = "default-on", |
||
161 | - |
||
162 | - }, |
||
163 | - { |
||
164 | - .name = "stop", |
||
165 | - .gpio = 1, |
||
166 | - .active_low = 1, |
||
167 | - }, |
||
168 | - }, |
||
169 | }; |
||
170 | |||
171 | static struct board_info __initdata board_96348gw_10 = { |
||
3 | office | 172 | @@ -278,35 +153,6 @@ static struct board_info __initdata boar |
173 | .cs = 2, |
||
174 | .ext_irq = 2, |
||
175 | }, |
||
1 | office | 176 | - |
177 | - .leds = { |
||
178 | - { |
||
179 | - .name = "adsl-fail", |
||
180 | - .gpio = 2, |
||
181 | - .active_low = 1, |
||
182 | - }, |
||
183 | - { |
||
184 | - .name = "ppp", |
||
185 | - .gpio = 3, |
||
186 | - .active_low = 1, |
||
187 | - }, |
||
188 | - { |
||
189 | - .name = "ppp-fail", |
||
190 | - .gpio = 4, |
||
191 | - .active_low = 1, |
||
192 | - }, |
||
193 | - { |
||
194 | - .name = "power", |
||
195 | - .gpio = 0, |
||
196 | - .active_low = 1, |
||
197 | - .default_trigger = "default-on", |
||
198 | - }, |
||
199 | - { |
||
200 | - .name = "stop", |
||
201 | - .gpio = 1, |
||
202 | - .active_low = 1, |
||
203 | - }, |
||
204 | - }, |
||
205 | }; |
||
206 | |||
207 | static struct board_info __initdata board_96348gw_11 = { |
||
3 | office | 208 | @@ -332,35 +178,6 @@ static struct board_info __initdata boar |
1 | office | 209 | .has_ohci0 = 1, |
210 | .has_pccard = 1, |
||
211 | .has_ehci0 = 1, |
||
212 | - |
||
213 | - .leds = { |
||
214 | - { |
||
215 | - .name = "adsl-fail", |
||
216 | - .gpio = 2, |
||
217 | - .active_low = 1, |
||
218 | - }, |
||
219 | - { |
||
220 | - .name = "ppp", |
||
221 | - .gpio = 3, |
||
222 | - .active_low = 1, |
||
223 | - }, |
||
224 | - { |
||
225 | - .name = "ppp-fail", |
||
226 | - .gpio = 4, |
||
227 | - .active_low = 1, |
||
228 | - }, |
||
229 | - { |
||
230 | - .name = "power", |
||
231 | - .gpio = 0, |
||
232 | - .active_low = 1, |
||
233 | - .default_trigger = "default-on", |
||
234 | - }, |
||
235 | - { |
||
236 | - .name = "stop", |
||
237 | - .gpio = 1, |
||
238 | - .active_low = 1, |
||
239 | - }, |
||
240 | - }, |
||
241 | }; |
||
242 | |||
243 | static struct board_info __initdata board_96348gw = { |
||
3 | office | 244 | @@ -390,35 +207,6 @@ static struct board_info __initdata boar |
245 | .ext_irq = 2, |
||
246 | .cs = 2, |
||
1 | office | 247 | }, |
248 | - |
||
249 | - .leds = { |
||
250 | - { |
||
251 | - .name = "adsl-fail", |
||
252 | - .gpio = 2, |
||
253 | - .active_low = 1, |
||
254 | - }, |
||
255 | - { |
||
256 | - .name = "ppp", |
||
257 | - .gpio = 3, |
||
258 | - .active_low = 1, |
||
259 | - }, |
||
260 | - { |
||
261 | - .name = "ppp-fail", |
||
262 | - .gpio = 4, |
||
263 | - .active_low = 1, |
||
264 | - }, |
||
265 | - { |
||
266 | - .name = "power", |
||
267 | - .gpio = 0, |
||
268 | - .active_low = 1, |
||
269 | - .default_trigger = "default-on", |
||
270 | - }, |
||
271 | - { |
||
272 | - .name = "stop", |
||
273 | - .gpio = 1, |
||
274 | - .active_low = 1, |
||
275 | - }, |
||
276 | - }, |
||
277 | }; |
||
278 | |||
279 | static struct board_info __initdata board_FAST2404 = { |
||
3 | office | 280 | @@ -534,33 +322,6 @@ static struct board_info __initdata boar |
1 | office | 281 | .has_ohci0 = 1, |
282 | .has_pccard = 1, |
||
283 | .has_ehci0 = 1, |
||
284 | - |
||
285 | - .leds = { |
||
286 | - { |
||
287 | - .name = "adsl-fail", |
||
288 | - .gpio = 15, |
||
289 | - .active_low = 1, |
||
290 | - }, |
||
291 | - { |
||
292 | - .name = "ppp", |
||
293 | - .gpio = 22, |
||
294 | - .active_low = 1, |
||
295 | - }, |
||
296 | - { |
||
297 | - .name = "ppp-fail", |
||
298 | - .gpio = 23, |
||
299 | - .active_low = 1, |
||
300 | - }, |
||
301 | - { |
||
302 | - .name = "power", |
||
303 | - .gpio = 4, |
||
304 | - .default_trigger = "default-on", |
||
305 | - }, |
||
306 | - { |
||
307 | - .name = "stop", |
||
308 | - .gpio = 5, |
||
309 | - }, |
||
310 | - }, |
||
311 | }; |
||
312 | |||
313 | static struct board_info __initdata board_96358vw2 = { |
||
3 | office | 314 | @@ -587,29 +348,6 @@ static struct board_info __initdata boar |
1 | office | 315 | .has_pccard = 1, |
316 | .has_ehci0 = 1, |
||
317 | .num_usbh_ports = 2, |
||
318 | - |
||
319 | - .leds = { |
||
320 | - { |
||
321 | - .name = "adsl", |
||
322 | - .gpio = 22, |
||
323 | - .active_low = 1, |
||
324 | - }, |
||
325 | - { |
||
326 | - .name = "ppp-fail", |
||
327 | - .gpio = 23, |
||
328 | - }, |
||
329 | - { |
||
330 | - .name = "power", |
||
331 | - .gpio = 5, |
||
332 | - .active_low = 1, |
||
333 | - .default_trigger = "default-on", |
||
334 | - }, |
||
335 | - { |
||
336 | - .name = "stop", |
||
337 | - .gpio = 4, |
||
338 | - .active_low = 1, |
||
339 | - }, |
||
340 | - }, |
||
341 | }; |
||
342 | |||
343 | static struct board_info __initdata board_AGPFS0 = { |