]> 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)
commitd63ffd1781d3722ce0c9bbf2c839d3510b1a4a3d
treec120ec6f4a8a818ae096d9c9be1271299657d4f9
parent4e76f7f739d47b3ff8df8537b4535d52439162eb
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