]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83867: Extend RX strap quirk for SGMII mode
authorHarini Katakam <harini.katakam@amd.com>
Fri, 14 Oct 2022 06:47:35 +0000 (12:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Oct 2022 10:10:56 +0000 (11:10 +0100)
commit0ff34d98a29992e2bf8ff8790bc33afa3d07fd64
tree88bd5e90a54a2534651f31af4e6944f9a0f8ae4b
parente34dc00591628d9862a8d5df499d67c2bb409ef8
net: phy: dp83867: Extend RX strap quirk for SGMII mode

When RX strap in HW is not set to MODE 3 or 4, bit 7 and 8 in CF4
register should be set. The former is already handled in
dp83867_config_init; add the latter in SGMII specific initialization.

Fixes: 54dd27c45e57 ("net: phy: dp83867: Add TI dp83867 phy")
Signed-off-by: Harini Katakam <harini.katakam@amd.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c