natsemi: netpoll fixes
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 5 Mar 2007 20:10:08 +0000 (00:10 +0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 6 Mar 2007 11:10:01 +0000 (06:10 -0500)
commit6006f7f517b9a754e4c4628755c62872e322c68a
tree9ab2f93536aeb08f7c2a01d2ce9954076defe8ce
parenta816c7c712ff9f6770168b91facb9bfa9f0acd48
natsemi: netpoll fixes

Fix two issues in this driver's netpoll path: one usual, with spin_unlock_irq()
enabling interrupts which nobody asks it to do (that has been fixed recently in
a number of drivers) and one unusual, with poll_controller() method possibly
causing loss of interrupts due to the interrupt status register being cleared
by a simple read and the interrpupt handler simply storing it, not accumulating.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/natsemi.c