]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d28eb87fc41008a7f30c454b76683bba763dbda
tree4c42e2d7cf368f1fa8f1e941bfde150f322a76ed
parent92f7db959377437de66019c1651bdb5a29de308f
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