linux_dsm_epyc7002/drivers/net/dsa/b53
Florian Fainelli 2cae8c07cb net: dsa: b53: Fix B53_SERDES_DIGITAL_CONTROL offset
Maths went wrong, to get 0x20, we need to do 0x1e + (x) * 2, not 0x18,
fix that offset so we access the correct registers. This would make us
not access the correct SerDes Digital control words, status would be
fine and so we would not be correctly flipping between Fiber and SGMII
modes resulting in incorrect status words being pulled into the SerDes
digital status register.

Fixes: 0e01491de6 ("net: dsa: b53: Add SerDes support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 20:01:19 -07:00
..
b53_common.c net: dsa: b53: Uninitialized variable in b53_adjust_link() 2018-09-11 23:00:33 -07:00
b53_mdio.c net: dsa: b53: Add BCM5389 support 2018-06-01 11:15:42 -04:00
b53_mmap.c net: dsa: b53: Fix sparse warnings in b53_mmap.c 2018-04-04 11:15:27 -04:00
b53_priv.h net: dsa: b53: Add SerDes support 2018-09-06 07:48:34 -07:00
b53_regs.h net: dsa: b53: Define EEE register page 2017-09-19 16:08:53 -07:00
b53_serdes.c net: dsa: b53: Don't assign autonegotiation enabled 2018-09-21 19:57:03 -07:00
b53_serdes.h net: dsa: b53: Fix B53_SERDES_DIGITAL_CONTROL offset 2018-09-21 20:01:19 -07:00
b53_spi.c net: dsa: b53: remove .owner and .bus fields for driver 2016-08-14 21:24:25 -07:00
b53_srab.c net: dsa: b53: Do not fail when IRQ are not initialized 2018-09-13 10:19:14 -07:00
Kconfig net: dsa: b53: Add SerDes support 2018-09-06 07:48:34 -07:00
Makefile net: dsa: b53: Add SerDes support 2018-09-06 07:48:34 -07:00