]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: adapt mvpp2_defaults_set() to PPv2.2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Mar 2017 15:53:11 +0000 (16:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 18:12:11 +0000 (10:12 -0800)
commitd787efd97cc62ae2c7dd578919bfc5a7cce07069
tree0b197dd8b6bf7b0a662e8200d82d4452c25f7ea4
parenta74c734515b064f31b07a8dd0125e9a36b8fe349
net: mvpp2: adapt mvpp2_defaults_set() to PPv2.2

This commit modifies the mvpp2_defaults_set() function to not do the
loopback and FIFO threshold initialization, which are not needed for
PPv2.2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c