summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvscsi.h
diff options
context:
space:
mode:
authorDave C Boutcher <sleddog@us.ibm.com>2005-11-15 16:53:00 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-07 15:30:01 +0100
commitbb58596f6802a4959c2cea02acd272245e671c1d (patch)
treee9fc2ebcd34b2301e471820f6cafcfcba96fddc6 /drivers/scsi/ibmvscsi/ibmvscsi.h
parent[PATCH] V4L/DVB (3087) fix analog NTSC for pcHDTV 3000 (diff)
downloadlinux-bb58596f6802a4959c2cea02acd272245e671c1d.tar.xz
linux-bb58596f6802a4959c2cea02acd272245e671c1d.zip
[SCSI] ibmvscsi kexec fix
This makes ibmvscsi work correctly with the recent set of kexec patches that went in. This is based on work by Michael Ellerman, who chased this initially. He validated that it works during kexec. Handle kexec correctly in ibmvscsi. During kexec the adapter will not get cleaned up correctly, so we may need to reset it to make it sane again. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.h b/drivers/scsi/ibmvscsi/ibmvscsi.h
index 8bec0438dc8a..5b0edd1f1921 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.h
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.h
@@ -100,7 +100,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue,
void ibmvscsi_release_crq_queue(struct crq_queue *queue,
struct ibmvscsi_host_data *hostdata,
int max_requests);
-void ibmvscsi_reset_crq_queue(struct crq_queue *queue,
+int ibmvscsi_reset_crq_queue(struct crq_queue *queue,
struct ibmvscsi_host_data *hostdata);
void ibmvscsi_handle_crq(struct viosrp_crq *crq,