commit | 1d9b041e9c5cb6a06e0943f14daf9806e6fe55f1 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Mon Feb 11 10:23:15 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 12 12:32:51 2019 -0500 |
tree | 9d8e0d73d4f8030cbb8fdbcca659a38b4761257b | |
parent | b7d286f01b9d9021695188092e36f405f2ecd276 [diff] |
net: marvell: mvpp2: use mvpp2_is_xlg() helper elsewhere 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 <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>