mv643xx_eth: move MIB offset defines into their only user
authorLennert Buytenhek <buytenh@wantstofly.org>
Sat, 31 May 2008 23:29:58 +0000 (01:29 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:28 +0000 (08:40 +0200)
commit4b8e3655978690cee49416c61c5cccf166fd390b
treedb1df103abe9555f43adc449906ac40215278f73
parent0a6cf74dd5ec440b7681880984d9455353f673ec
mv643xx_eth: move MIB offset defines into their only user

The only user of the ETH_MIB_VERY_LONG_NAME_HERE defines is the
eth_update_mib_counters() function.  Get rid of the defines by
open-coding the register offsets in the latter.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c