net: mvpp2: enable basic 10G support
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Mon, 12 Jun 2017 14:01:39 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2017 16:50:43 +0000 (12:50 -0400)
commit725757aee05e51914b72f25ba2a89c43c3779574
tree4c42e2d7cf368f1fa8f1e941bfde150f322a76ed
parent88efe190f3ec2532556d65f6ea53885ccec6cf39
net: mvpp2: enable basic 10G support

On GOP port 0 two MAC modes are available: GMAC and XLG. The XLG MAC is
used for 10G connectivity. This patch adds a basic 10G support by
allowing to use the XLG MAC on port 0 and by reworking the
port_enable/disable functions so that the XLG MAC is configured when
using 10G.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c