]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
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)
"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>

No differences found