OSDN Git Service

[sky2] Fix sky2 network driver suspend/resume
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Jun 2006 19:53:27 +0000 (12:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Jun 2006 19:53:27 +0000 (12:53 -0700)
commitd374c1c1281d6188a0d0676172b1c0e3de35c6e7
treeaeae46b8a329faa0ad7e51b8a1900c1d937f9836
parent0e838b72d54ed189033939258a961f2a0cd59647
[sky2] Fix sky2 network driver suspend/resume

This fixes two independent problems: it would not save the PCI state on
suspend (and thus try to resume a nonexistent state on resume), and
while shut off, if an interrupt happened on the same shared irq, the irq
handler would react very badly to the interrupt status being an invalid
all-ones state.

Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/sky2.c