]> 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)
commitd54090c3c40491d5ac5e0d76df4d3cb4f89c43bb
treeefe9c985464a996e4316078d70bb2f2c68a1208a
parent19920cdd39f9617ccd2eb2b0bc0b1cc92cd32396
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