]> git.baikalelectronics.ru Git - kernel.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)
commitf0d48f50eea05bd201ed7f61c193adc666831089
tree504672622efd84acdd0fbdaef0c5b27e8f2f9e8d
parentf8f877799ebcb5ffff55f5d2684f882cc2a23e47
[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