[PATCH net-next 4/5] net: phy: marvell10g: change MACTYPE if underlying MAC does not support it

2020-10-28 Thread Marek BehĂșn
RollBall SFPs contain a Marvell 88X3310 PHY, but by default the MACTYPE is set to 10GBASE-R with Rate Matching. Some devices (for example those based on Armada 38x) only support up to 2500base-x SerDes modes. Change the PHY's MACTYPE to 4 (which means changing between 10gbase-r, 5gbase-r, 2500bas

Re: [PATCH net-next 4/5] net: phy: marvell10g: change MACTYPE if underlying MAC does not support it

2020-10-29 Thread Russell King - ARM Linux admin
On Wed, Oct 28, 2020 at 11:14:26PM +0100, Marek BehĂșn wrote: > RollBall SFPs contain a Marvell 88X3310 PHY, but by default the MACTYPE > is set to 10GBASE-R with Rate Matching. > > Some devices (for example those based on Armada 38x) only support up to > 2500base-x SerDes modes. > > Change the PH