Re: [PATCH net-next 2/2] net: marvell: mvpp2: use mvpp2_is_xlg() helper elsewhere

2019-02-12 Thread David Miller
From: Russell King Date: Mon, 11 Feb 2019 10:23:15 + > There are several places which make the decision whether to access the > XLGMAC vs GMAC that only check for PHY_INTERFACE_MODE_10GKR and not its > XAUI variant. Switch these to use the new helper so that we have > consistency through the

Re: [PATCH net-next 2/2] net: marvell: mvpp2: use mvpp2_is_xlg() helper elsewhere

2019-02-11 Thread Maxime Chevallier
Hello Russell, On Mon, 11 Feb 2019 10:23:15 + Russell King wrote: >There are several places which make the decision whether to access the >XLGMAC vs GMAC that only check for PHY_INTERFACE_MODE_10GKR and not its >XAUI variant. Switch these to use the new helper so that we have >consistency t

[PATCH net-next 2/2] net: marvell: mvpp2: use mvpp2_is_xlg() helper elsewhere

2019-02-11 Thread Russell King
There are several places which make the decision whether to access the XLGMAC vs GMAC that only check for PHY_INTERFACE_MODE_10GKR and not its XAUI variant. Switch these to use the new helper so that we have consistency through the driver. Signed-off-by: Russell King --- drivers/net/ethernet/ma