Commit 6b6d017
Revert "net: bcmgenet: soft reset 40nm EPHYs before MAC init"
This reverts commit 1f51548.
This commit improved the chances of the umac resetting cleanly by
ensuring that the PHY was restored to its normal operation prior
to resetting the umac. However, there were still cases when the
PHY might not be driving a Tx clock to the umac during this window
(e.g. when the PHY detects no link).
The previous commit now ensures that the unimac receives clocks
from the MAC during its reset window so this commit is no longer
needed. This commit also has an unintended negative impact on the
MDIO performance of the UniMAC MDIO interface because it is used
before the MDIO interrupts are reenabled, so it should be removed.
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 3a55402 commit 6b6d017
File tree
3 files changed
+73
-69
lines changed- drivers/net/ethernet/broadcom/genet
3 files changed
+73
-69
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2877 | 2877 | | |
2878 | 2878 | | |
2879 | 2879 | | |
2880 | | - | |
2881 | | - | |
2882 | | - | |
2883 | | - | |
2884 | | - | |
2885 | | - | |
2886 | 2880 | | |
2887 | 2881 | | |
2888 | 2882 | | |
| |||
2892 | 2886 | | |
2893 | 2887 | | |
2894 | 2888 | | |
2895 | | - | |
2896 | | - | |
2897 | | - | |
2898 | | - | |
2899 | | - | |
2900 | | - | |
2901 | 2889 | | |
2902 | 2890 | | |
2903 | 2891 | | |
| |||
2913 | 2901 | | |
2914 | 2902 | | |
2915 | 2903 | | |
2916 | | - | |
| 2904 | + | |
2917 | 2905 | | |
2918 | 2906 | | |
2919 | 2907 | | |
| |||
2936 | 2924 | | |
2937 | 2925 | | |
2938 | 2926 | | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
2939 | 2933 | | |
2940 | 2934 | | |
2941 | 2935 | | |
2942 | 2936 | | |
2943 | 2937 | | |
2944 | 2938 | | |
| 2939 | + | |
| 2940 | + | |
2945 | 2941 | | |
2946 | 2942 | | |
2947 | 2943 | | |
2948 | 2944 | | |
2949 | 2945 | | |
2950 | | - | |
2951 | | - | |
2952 | 2946 | | |
2953 | 2947 | | |
2954 | 2948 | | |
| |||
3629 | 3623 | | |
3630 | 3624 | | |
3631 | 3625 | | |
3632 | | - | |
3633 | | - | |
3634 | 3626 | | |
3635 | 3627 | | |
3636 | 3628 | | |
| |||
3639 | 3631 | | |
3640 | 3632 | | |
3641 | 3633 | | |
| 3634 | + | |
| 3635 | + | |
3642 | 3636 | | |
3643 | 3637 | | |
3644 | 3638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
723 | | - | |
724 | 723 | | |
| 724 | + | |
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 176 | | |
217 | 177 | | |
218 | 178 | | |
| |||
339 | 299 | | |
340 | 300 | | |
341 | 301 | | |
342 | | - | |
343 | | - | |
| 302 | + | |
| 303 | + | |
344 | 304 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
| 305 | + | |
| 306 | + | |
353 | 307 | | |
354 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
0 commit comments