summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-02-19 11:09:27 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-20 17:52:46 -0500
commitddede6d536d70c4ef2193ca14208db90740fcd22 (patch)
tree1a019786f29a1abc9105aae80cc8ffaf0375683a /net/core
parent6dd0c1655be26345960a6bae574c7dc4648611d3 (diff)
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: 246d7f773c13 ("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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions