net: mvpp2: initialize the GoP
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 22 Aug 2017 17:08:27 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:32:19 +0000 (14:32 -0700)
commitf84bf386f3956c4a02c773a59c9c61033c00a5b5
tree3486e7f3fa0d3e1d977ad2dc485dedad993249f6
parent76eb1b1de5b6467c78bb72311dbf29eea1f10a3a
net: mvpp2: initialize the GoP

The patch adds GoP (group of ports) initialization functions. The mvpp2
driver was relying on the firmware/bootloader initialization; this patch
moves this setup to the mvpp2 driver.

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