diff options
author | Dave C Boutcher <sleddog@us.ibm.com> | 2006-01-19 14:34:44 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-26 08:10:08 -0500 |
commit | 2b541f8f77fd339e4c5c5cbe8549b52445012704 (patch) | |
tree | 2df9275132ac1bdaadf6695e4d50132b8b955efd /drivers/scsi/ibmvscsi/ibmvscsi.h | |
parent | 2dbb04c65561122cc53b22dbea9aa59f9609215b (diff) |
[SCSI] ibmvscsi: handle re-enable firmware message
New versions of the Power5 firmware can send a "re-enable" message to
the virtual scsi adapter. This fix makes us handle the message
correctly. Without it, the driver goes catatonic and the system crashes
unpleasantly.
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.h')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.h b/drivers/scsi/ibmvscsi/ibmvscsi.h index 5b0edd1f1921..4550d71e4744 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.h +++ b/drivers/scsi/ibmvscsi/ibmvscsi.h | |||
@@ -103,6 +103,9 @@ void ibmvscsi_release_crq_queue(struct crq_queue *queue, | |||
103 | int ibmvscsi_reset_crq_queue(struct crq_queue *queue, | 103 | int ibmvscsi_reset_crq_queue(struct crq_queue *queue, |
104 | struct ibmvscsi_host_data *hostdata); | 104 | struct ibmvscsi_host_data *hostdata); |
105 | 105 | ||
106 | int ibmvscsi_reenable_crq_queue(struct crq_queue *queue, | ||
107 | struct ibmvscsi_host_data *hostdata); | ||
108 | |||
106 | void ibmvscsi_handle_crq(struct viosrp_crq *crq, | 109 | void ibmvscsi_handle_crq(struct viosrp_crq *crq, |
107 | struct ibmvscsi_host_data *hostdata); | 110 | struct ibmvscsi_host_data *hostdata); |
108 | int ibmvscsi_send_crq(struct ibmvscsi_host_data *hostdata, | 111 | int ibmvscsi_send_crq(struct ibmvscsi_host_data *hostdata, |