]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sky2: netconsole suspend/resume interaction
authorStephen Hemminger <shemminger@osdl.org>
Fri, 16 Jun 2006 19:10:46 +0000 (12:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 17 Jun 2006 17:52:12 +0000 (10:52 -0700)
commit88d113601ca19c82feb038438c8c5db502d146f9
tree504672622efd84acdd0fbdaef0c5b27e8f2f9e8d
parent991721572ef2140c6411894aebefd3377e71a9e7
[PATCH] sky2: netconsole suspend/resume interaction

A couple of fixes that should prevent crashes when using netconsole and
suspend/resume. First, netconsole poll routine shouldn't run unless the
device is up; second, the NAPI poll should be disabled during suspend.

This is only an issue on sky2, because it has to have one NAPI poll
routine for both ports on dual port boards. Normal drivers use
netif_rx_schedule_prep and that checks for netif_running.

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