If the poll routine detects no hardware available, it needs to dequeue
it self from the network poll list. Linus didn't understand NAPI.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
u32 status = sky2_read32(hw, B0_Y2_SP_EISR);
if (!~status)
- return 0;
+ goto out;
if (status & Y2_IS_HW_ERR)
sky2_hw_intr(hw);
if (sky2_more_work(hw))
return 1;
-
+out:
netif_rx_complete(dev0);
sky2_read32(hw, B0_Y2_SP_LISR);