aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2007-05-29 15:07:31 -0700
committerJeff Garzik <[email protected]>2007-05-30 09:52:48 -0400
commit47313054352b879a2bc65379d55b05f48a0af7ec (patch)
treef9876f1cd9891232ac4814b6c08145d1f3050178 /include/linux/debugobjects.h
parent8a32352661cc8e942897d205ba18f871ef7be597 (diff)
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 <[email protected]> Cc: "Kok, Auke" <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions