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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Dec 2008 03:40:02 +0000 (19:40 -0800)
commit3e7c469f07ff14cbf9a814739e1fc99a863e0943
tree5de921edb410bdb564dcecd3fa76878f2775ed5c
parent11e5e8f5d14a1229706576184d2cf4c4556ed94c
r6040: save and restore MIER correctly in the interrupt routine

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>
drivers/net/r6040.c