51dca8a1cf
Due to a typo we would always be using the MIB counter width of the
first element of the counter array instead of the current element, and
we would always be accessing the register statistics with a 64-bits
read, while some could be 32-bits. This got unnoticed in testing with
MDIO and SRAB which tolerate doing this, but testing with the SPI bus
revealed bogus values being returned. Fix this by using the proper
iterator here.
Fixes:
|
||
---|---|---|
.. | ||
b53 | ||
Kconfig | ||
Makefile | ||
bcm_sf2.c | ||
bcm_sf2.h | ||
bcm_sf2_regs.h | ||
mv88e6xxx.c | ||
mv88e6xxx.h | ||
mv88e6060.c | ||
mv88e6060.h |