]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: fix 88e6xxx statistics counter snapshotting
authorStephane Contri <Stephane.Contri@grassvalley.com>
Thu, 2 Jul 2009 23:26:48 +0000 (23:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 01:03:35 +0000 (18:03 -0700)
commit1e6537e955937b990100e744416afa099c09f554
tree8740ddef72d2a51849cf87fc30744dcda04864f0
parent8a6ba26410887921f3a33cded95c7305734ebcd3
dsa: fix 88e6xxx statistics counter snapshotting

The bit that tells us whether a statistics counter snapshot operation
has completed is located in the GLOBAL register block, not in the
GLOBAL2 register block, so fix up mv88e6xxx_stats_wait() to poll the
right register address.

Signed-off-by: Stephane Contri <Stephane.Contri@grassvalley.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/mv88e6xxx.c