]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sky2: status irq hang fix
authorStephen Hemminger <shemminger@osdl.org>
Mon, 8 May 2006 22:11:27 +0000 (15:11 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 8 May 2006 23:00:24 +0000 (16:00 -0700)
commit1e5f1283a2aed429f4457e2eb875b1928a6643df
tree7468304afc4e981f54686d719d7dfa6877dc7726
parentd324031245abbb54e4e0321004430826052b6c37
sky2: status irq hang fix

The status interrupt flag should be cleared before processing,
not afterwards to avoid race. Need to process in poll routine
even if no new interrupt status. This is a normal occurrence when
more than 64 frames (NAPI weight) are processed in one poll routine.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c