]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaad4aeac3726e65f21d02d9fe2bb233f73ff3eef
tree5ed8d62cf6c08ff966c560cf46c227bebcc85bfd
parent1e18991639269a805b20e1c27e94b070d4b3cc5d
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