au1000_eth: fix invalid address accessing the MAC enable register
authorWolfgang Grandegger <wg@grandegger.com>
Tue, 23 Nov 2010 06:40:25 +0000 (06:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 19:31:22 +0000 (11:31 -0800)
commit462ca99c2ff6caae94dde5c05b56b54f6c01602a
tree5ed8d62cf6c08ff966c560cf46c227bebcc85bfd
parent0ac78870220b6e0ac74dd9292bcfa7b18718babd
au1000_eth: fix invalid address accessing the MAC enable register

"aup->enable" holds already the address pointing to the MAC enable
register. The bug was introduced by commit d0e7cb:

"au1000-eth: remove volatiles, switch to I/O accessors".

CC: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wolfgang Grandegger <wg@denx.de>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/au1000_eth.c