diff options
author | Klaus D. Wacker <kdwacker@de.ibm.com> | 2007-10-05 10:45:47 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:41 -0400 |
commit | 59579da329b22bcddc5da0c22c61d6dc1f9eb96a (patch) | |
tree | 117eb93c9d50643a633018481ed68fc84063519d /drivers/s390/net/lcs.h | |
parent | d8fae9c2f2642ffe411424ed2e4677f959168152 (diff) |
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.h | 1 |
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 { | |||
138 | LCS_CH_STATE_RUNNING, | 138 | LCS_CH_STATE_RUNNING, |
139 | LCS_CH_STATE_SUSPENDED, | 139 | LCS_CH_STATE_SUSPENDED, |
140 | LCS_CH_STATE_CLEARED, | 140 | LCS_CH_STATE_CLEARED, |
141 | LCS_CH_STATE_ERROR, | ||
141 | }; | 142 | }; |
142 | 143 | ||
143 | /** | 144 | /** |