]> err.no Git - linux-2.6/commit
sky2: shutdown cleanup
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 17 Oct 2007 20:26:42 +0000 (13:26 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:17:34 +0000 (20:17 -0400)
commit6de16237c78a9df6c7cb2d1b3bbd788322ecb344
tree8315150fd91c39a6f7763ab87150e963d4039a5f
parentc264c3dee9f20bad1f42ef5821300791291d0f77
sky2: shutdown cleanup

Solve issues with dual port devices due to shared NAPI.
 * shutting down one device shouldn't kill other one.
 * suspend shouldn't hang.
Also fix potential race between restart and shutdown.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c