[PATCH] drivers/net/amd8111e.c: fix NAPI interrupt in poll
authorLiu Tao <liutao1980@gmail.com>
Thu, 12 May 2005 23:40:38 +0000 (19:40 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 12 May 2005 23:40:38 +0000 (19:40 -0400)
commitdfa1b73ffb414b64dc0452260132a090eb25bf52
treed01ca6357ecdeb874bcf8ff3ea9a2131afd41862
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5
  [PATCH] drivers/net/amd8111e.c: fix NAPI interrupt in poll

  This patch makes the netif_rx_complete() and rx_interrupt_enable
  atomic when exiting the poll() method, so to avoid interrupt in poll.
  It also fixes the rx interrupt check logic in interrupt handler.

Signed-off-by: Liu Tao <liutao1980@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/amd8111e.c