lcs: Channel errors drive lcs_recovery which leads to kernel panic.
authorKlaus D. Wacker <kdwacker@de.ibm.com>
Fri, 5 Oct 2007 14:45:47 +0000 (16:45 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:41 +0000 (16:54 -0700)
commit59579da329b22bcddc5da0c22c61d6dc1f9eb96a
tree117eb93c9d50643a633018481ed68fc84063519d
parentd8fae9c2f2642ffe411424ed2e4677f959168152
lcs: Channel errors drive lcs_recovery which leads to kernel panic.

When the lcs irq routine detects channel failures it drives device recovery.
After this event the device is no longer usable for shutdown requests,
because the lcs_irq routine may get wrong channel status information.
In such a case the lcs_irq routine marks the channel in 'error' state.
The channel state comes back to 'running' after restarting the channels.

Signed-off-by: Klaus D. Wacker <kdwacker@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/lcs.c
drivers/s390/net/lcs.h