Commit b92143d
net: dsa: mv88e6xxx: add infrastructure for phylink_pcs
Add infrastructure for phylink_pcs to the mv88e6xxx driver. This
involves adding a mac_select_pcs() hook so we can pass the PCS to
phylink at the appropriate time, and a PCS initialisation function.
As the various chip implementations are converted to use phylink_pcs,
they are no longer reliant on the legacy phylink behaviour. We detect
this by the use of this infrastructure, or the lack of any serdes.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 40da0c3 commit b92143d
2 files changed
+60
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
847 | 872 | | |
848 | 873 | | |
849 | 874 | | |
| |||
3582 | 3607 | | |
3583 | 3608 | | |
3584 | 3609 | | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
3585 | 3614 | | |
3586 | 3615 | | |
3587 | 3616 | | |
| |||
3593 | 3622 | | |
3594 | 3623 | | |
3595 | 3624 | | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
3596 | 3629 | | |
3597 | 3630 | | |
3598 | 3631 | | |
| |||
4061 | 4094 | | |
4062 | 4095 | | |
4063 | 4096 | | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
| 4101 | + | |
| 4102 | + | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
4064 | 4106 | | |
4065 | 4107 | | |
4066 | 4108 | | |
4067 | 4109 | | |
4068 | 4110 | | |
| 4111 | + | |
| 4112 | + | |
4069 | 4113 | | |
| 4114 | + | |
| 4115 | + | |
| 4116 | + | |
4070 | 4117 | | |
4071 | 4118 | | |
4072 | 4119 | | |
| |||
7061 | 7108 | | |
7062 | 7109 | | |
7063 | 7110 | | |
| 7111 | + | |
7064 | 7112 | | |
7065 | 7113 | | |
7066 | 7114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
| 292 | + | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| |||
664 | 666 | | |
665 | 667 | | |
666 | 668 | | |
| 669 | + | |
| 670 | + | |
667 | 671 | | |
668 | 672 | | |
669 | 673 | | |
| |||
736 | 740 | | |
737 | 741 | | |
738 | 742 | | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
739 | 751 | | |
740 | 752 | | |
741 | 753 | | |
| |||
0 commit comments