]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: reconfiguring the port interface is PPv2.2 specific
authorAntoine Tenart <antoine.tenart@bootlin.com>
Fri, 1 Mar 2019 10:52:07 +0000 (11:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 07:23:34 +0000 (23:23 -0800)
commit80c2e91422998cbeac51c8cddc17b31111361ec2
treefdbaf7eee2839a8ddb7ea1c0d9738152efa0a12a
parent70ab70db9cb6fbfe86432749e8dbc2e0c0819965
net: mvpp2: reconfiguring the port interface is PPv2.2 specific

This patch adds a check on the PPv2 version in-use not to reconfigure
the port mode when an interface is updated when using PPv2.1 as the
functions called are PPv2.2 specific.

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