]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: DP83TC811: Fix SGMII enable/disable
authorDan Murphy <dmurphy@ti.com>
Fri, 29 Jun 2018 15:35:46 +0000 (10:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 02:38:07 +0000 (11:38 +0900)
commit77bb361462f260294c8da2ef7c28b628679f5931
treeefe9c985464a996e4316078d70bb2f2c68a1208a
parent18548e8c7d05c0e6429fa52571b845b6b41b57ce
net: phy: DP83TC811: Fix SGMII enable/disable

If SGMII was selected in the DT then the device should
write the SGMII enable bit.

If SGMII is not selected in the DT then the SGMII bit
should be disabled.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83tc811.c