diff options
| author | Grygorii Strashko <[email protected]> | 2023-05-10 12:51:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-05-12 07:44:43 +0000 |
| commit | 0b01db274028f5acd207332686ffc92ac77491ac (patch) | |
| tree | a46bbc755bcf0ee18e5339d8f7447f76697f04ff /net/nsh/nsh.c | |
| parent | net: fec: Better handle pm_runtime_get() failing in .remove() (diff) | |
| download | kernel-0b01db274028f5acd207332686ffc92ac77491ac.tar.gz kernel-0b01db274028f5acd207332686ffc92ac77491ac.zip | |
net: phy: dp83867: add w/a for packet errors seen with short cables
Introduce the W/A for packet errors seen with short cables (<1m) between
two DP83867 PHYs.
The W/A recommended by DM requires FFE Equalizer Configuration tuning by
writing value 0x0E81 to DSP_FFE_CFG register (0x012C), surrounded by hard
and soft resets as follows:
write_reg(0x001F, 0x8000); //hard reset
write_reg(DSP_FFE_CFG, 0x0E81);
write_reg(0x001F, 0x4000); //soft reset
Since DP83867 PHY DM says "Changing this register to 0x0E81, will not
affect Long Cable performance.", enable the W/A by default.
Fixes: 2a10154abcb7 ("net: phy: dp83867: Add TI dp83867 phy")
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: Siddharth Vadapalli <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
