commit | a9a3320227f649435885d95d24e21912dc539928 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Sat Jun 20 10:21:26 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 20 21:38:26 2020 -0700 |
tree | 008fcba9cd3afebb12b398e7b9c7745da5b1f3e9 | |
parent | 8bf1539515920810b86cf1783dc433b1a25d31df [diff] |
net: mvpp2: add port support helpers The mvpp2 code has tests scattered amongst the code to determine whether the port supports the XLG, and whether the port supports RGMII mode. Rather than having these tests scattered, provide a couple of helper functions, so that future additions can ensure that they get these tests correct. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>