dsa: fix 88e6xxx statistics counter snapshotting
commit88bb2dc2879645af77ac3b25d4451c7fb7e38b3d
authorStephane Contri <Stephane.Contri@grassvalley.com>
Thu, 2 Jul 2009 23:26:48 +0000 (2 23:26 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:05 +0000 (30 14:39 -0700)
tree60a2f608c21af4cf4ef58cd4ddefc4312ef065dd
parente9cbe5c4d29e052c38e500a06517b27c60f22c02
dsa: fix 88e6xxx statistics counter snapshotting

commit 1ded3f59f35a2642852b3e2a1c0fa8a97777e9af upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/dsa/mv88e6xxx.c