]> git.baikalelectronics.ru Git - kernel.git/commit
r6040: restore MIER register correctly when IRQ line is shared
authorFlorian Fainelli <florian@openwrt.org>
Wed, 8 Jul 2009 03:05:14 +0000 (03:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 17:49:26 +0000 (10:49 -0700)
commit3a3f9c4cac7d8049d8caf0fcc74e909ef9483df7
tree34eb56d3e4fa5697e3b5ccee545042a07f8342ab
parent7c99b247fdf0755ee552e0a334d83830ca3bd918
r6040: restore MIER register correctly when IRQ line is shared

When the r6040 device IRQ line is shared we will enter the driver
interrupt service routine, mask off the device interrupt enable
register (MIER) and return with IRQ_NONE, we would then leave the
device with interrupts disabled, this patch fixes that issue.

Reported-by: Steve Holland <sdh4@iastate.edu>
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