]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: dynamic reconfiguration of the comphy/GoP/MAC
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Wed, 30 Aug 2017 08:29:19 +0000 (10:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:17:46 +0000 (15:17 -0700)
commitcc5d569d22faf7193042f3c12495ef7ff08dc8e6
treec120ec6f4a8a818ae096d9c9be1271299657d4f9
parent6c295f33908ef86b702e0e11a76339dbdaa60f87
net: mvpp2: dynamic reconfiguration of the comphy/GoP/MAC

This patch adds logic to reconfigure the comphy/GoP/MAC when the link
state is updated at runtime. This is very useful on boards where many
link speed are supported: depending on what is negotiated the PPv2
driver will automatically reconfigures the link between the PHY and the
MAC.

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