]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: Enable all ports in QSGMII
authorKavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
Thu, 28 Feb 2019 07:32:22 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Mar 2019 20:57:12 +0000 (12:57 -0800)
commitadc3c5dfe1807cf7c1c6fc8239345ada9492617b
tree8b863cb32a8bd4ab1299360f1407babaaa7498b0
parentd5436b524745f260f8908a596899f36deb59dc66
net: mscc: Enable all ports in QSGMII

When Ocelot phy-mode is QSGMII, all 4 ports involved in
QSGMII shall be kept out of reset and
Tx lanes shall be enabled to pass the data.

Fixes: 1bed22a67906 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
Signed-off-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Co-developed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_board.c