summaryrefslogtreecommitdiff
path: root/drivers/s390/net/lcs.h
diff options
context:
space:
mode:
authorKlaus D. Wacker <kdwacker@de.ibm.com>2007-10-05 18:45:47 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:54:41 +0400
commit59579da329b22bcddc5da0c22c61d6dc1f9eb96a (patch)
tree117eb93c9d50643a633018481ed68fc84063519d /drivers/s390/net/lcs.h
parentd8fae9c2f2642ffe411424ed2e4677f959168152 (diff)
downloadlinux-59579da329b22bcddc5da0c22c61d6dc1f9eb96a.tar.xz
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>
Diffstat (limited to 'drivers/s390/net/lcs.h')
-rw-r--r--drivers/s390/net/lcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/lcs.h b/drivers/s390/net/lcs.h
index 0e1e4a0a88f0..8976fb0b070a 100644
--- a/drivers/s390/net/lcs.h
+++ b/drivers/s390/net/lcs.h
@@ -138,6 +138,7 @@ enum lcs_channel_states {
LCS_CH_STATE_RUNNING,
LCS_CH_STATE_SUSPENDED,
LCS_CH_STATE_CLEARED,
+ LCS_CH_STATE_ERROR,
};
/**