]> git.karo-electronics.de Git - karo-tx-linux.git/commit
r6040: save and restore MIER correctly in the interrupt routine
authorJoe Chou <Joe.Chou@rdc.com.tw>
Tue, 23 Dec 2008 03:40:02 +0000 (19:40 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:36:19 +0000 (16:36 -0800)
commit2d699e5364e67b9189968103e00cdb7acd98c514
treebf2d5732d1166b3dde3d1614cb6061e8e4fab7fd
parent0e3ee4452e429811861a5a42f6ba6c33226deff1
r6040: save and restore MIER correctly in the interrupt routine

[ Upstream commit: 3e7c469f07ff14cbf9a814739e1fc99a863e0943 ]

This patch saves the MIER register contents before treating
interrupts, then restores them correcty at the end of the
interrupt routine.

Signed-off-by: Joe Chou <Joe.Chou@rdc.com.tw>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/r6040.c