aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorTim Harvey <[email protected]>2020-02-07 20:40:26 +0000
committerDavid S. Miller <[email protected]>2020-02-08 14:28:09 +0000
commit29ca3b31756fb7cfbfc85f2d82a0475bf38cc1ed (patch)
treed5761776b649fbf5c12fadb8a4d8f021d77f67a9 /net/tipc/node.c
parentMerge tag 'wireless-drivers-2020-02-08' of git://git.kernel.org/pub/scm/linux... (diff)
downloadkernel-29ca3b31756fb7cfbfc85f2d82a0475bf38cc1ed.tar.gz
kernel-29ca3b31756fb7cfbfc85f2d82a0475bf38cc1ed.zip
net: thunderx: use proper interface type for RGMII
The configuration of the OCTEONTX XCV_DLL_CTL register via xcv_init_hw() is such that the RGMII RX delay is bypassed leaving the RGMII TX delay enabled in the MAC: /* Configure DLL - enable or bypass * TX no bypass, RX bypass */ cfg = readq_relaxed(xcv->reg_base + XCV_DLL_CTL); cfg &= ~0xFF03; cfg |= CLKRX_BYP; writeq_relaxed(cfg, xcv->reg_base + XCV_DLL_CTL); This would coorespond to a interface type of PHY_INTERFACE_MODE_RGMII_RXID and not PHY_INTERFACE_MODE_RGMII. Fixing this allows RGMII PHY drivers to do the right thing (enable RX delay in the PHY) instead of erroneously enabling both delays in the PHY. Signed-off-by: Tim Harvey <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions