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)
commit084e5bb16bd7dc2b551bbd9fb358bf73e03ee8d8
tree8b863cb32a8bd4ab1299360f1407babaaa7498b0
parent46b1c18f9deb326a7e18348e668e4c7ab7c7458b
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: a556c76adc05 ("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