From: Herbert Xu Date: Tue, 29 May 2007 22:07:31 +0000 (-0700) Subject: e1000: restore netif_poll_enable call but make sure IRQs are off X-Git-Tag: v2.6.22-rc4~90^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47313054352b879a2bc65379d55b05f48a0af7ec;p=pandora-kernel.git e1000: restore netif_poll_enable call but make sure IRQs are off This restores the previously removed netif_poll_enable call in e1000_open. It's needed on all but the first call to e1000_open for a NIC as e1000_close always calls netif_poll_disable. netif_poll_enable can only be called safely if no polls have been scheduled. This should be the case as long as we don't enter our IRQ handler. In order to guarantee this we explicitly disable IRQs as early as possible when we're probing the NIC. Signed-off-by: Herbert Xu Cc: "Kok, Auke" Cc: Jeff Garzik Cc: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed