jme: Faulty IRQ handle bug fix
authorakeemting <akeem@jmicron.com>
Thu, 9 Oct 2008 02:50:03 +0000 (19:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 02:51:32 +0000 (19:51 -0700)
commit576b5223e2caa0f19afb8ac17455759c214370ce
tree0cfd422dbf935fe2878f8b160b4649e6997589f7
parenta821ebe580c535e3e8e354c6ab10516a0e95e202
jme: Faulty IRQ handle bug fix

Fix IRQ handle bug when interrupt mode.

The driver was incorrectly handled and returned IRQ_HANDLED
while the device is not generating the interrupt.
It happened due to faulty determination of interrupt status register.

Found by: "Ethan" <ethanhsiao@jmicron.com>
Fixed by: "akeemting" <akeem@jmicron.com>
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c