1
0
Fork 0
alistair23-linux/drivers/net/dsa
Florian Fainelli ddede6d536 net: dsa: bcm_sf2: fix 64-bits register reads
Reading 64-bits register was not working because we inverted the steps
between reading the lower 32-bits of the register and reading the upper
32-bits. Swapping these operations is how the HW guarantees that 64-bits
reads are latched correctly. We only have a handful of 64-bits registers
for now, mostly MIB counters, so the imapct is low.

Fixes: 246d7f773c ("net: dsa: add Broadcom SF2 switch driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-20 17:52:46 -05:00
..
Kconfig net: dsa: bcm_sf2: always select FIXED_PHY 2014-12-16 00:57:07 -05:00
Makefile net: dsa: Add support for Marvell 88E6352 2014-10-30 14:54:10 -04:00
bcm_sf2.c net: dsa: bcm_sf2: implement GPHY power down 2015-02-07 22:38:40 -08:00
bcm_sf2.h net: dsa: bcm_sf2: fix 64-bits register reads 2015-02-20 17:52:46 -05:00
bcm_sf2_regs.h net: dsa: bcm_sf2: implement GPHY power down 2015-02-07 22:38:40 -08:00
mv88e6xxx.c net: dsa/mv88e6xxx: add reg read and write debug 2015-01-27 00:04:02 -08:00
mv88e6xxx.h net: dsa: Centralise code for reading the temperature sensor 2014-11-16 15:47:26 -05:00
mv88e6060.c net: dsa: Report known silicon revisions for Marvell 88E6060 2014-10-30 14:54:10 -04:00
mv88e6123_61_65.c net: dsa: Centralise code for reading the temperature sensor 2014-11-16 15:47:26 -05:00
mv88e6131.c dsa: do not dereference non-existing routing table 2015-02-07 22:07:36 -08:00
mv88e6171.c net: dsa: mv88e6171: Add support for reading switch registers 2014-11-16 15:47:26 -05:00
mv88e6352.c net: dsa/mv88e6352: make mv88e6352_wait generic 2015-01-27 00:05:56 -08:00