aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hptiop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/hptiop.c')
-rw-r--r--drivers/scsi/hptiop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index ff149ad6bc4e..beecda991682 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -338,7 +338,8 @@ static int iop_get_config_mv(struct hptiop_hba *hba,
338 req->header.size = 338 req->header.size =
339 cpu_to_le32(sizeof(struct hpt_iop_request_get_config)); 339 cpu_to_le32(sizeof(struct hpt_iop_request_get_config));
340 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); 340 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
341 req->header.context = cpu_to_le64(IOP_REQUEST_TYPE_GET_CONFIG<<5); 341 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_GET_CONFIG<<5);
342 req->header.context_hi32 = 0;
342 343
343 if (iop_send_sync_request_mv(hba, 0, 20000)) { 344 if (iop_send_sync_request_mv(hba, 0, 20000)) {
344 dprintk("Get config send cmd failed\n"); 345 dprintk("Get config send cmd failed\n");
@@ -392,7 +393,8 @@ static int iop_set_config_mv(struct hptiop_hba *hba,
392 req->header.size = 393 req->header.size =
393 cpu_to_le32(sizeof(struct hpt_iop_request_set_config)); 394 cpu_to_le32(sizeof(struct hpt_iop_request_set_config));
394 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); 395 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
395 req->header.context = cpu_to_le64(IOP_REQUEST_TYPE_SET_CONFIG<<5); 396 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG<<5);
397 req->header.context_hi32 = 0;
396 398
397 if (iop_send_sync_request_mv(hba, 0, 20000)) { 399 if (iop_send_sync_request_mv(hba, 0, 20000)) {
398 dprintk("Set config send cmd failed\n"); 400 dprintk("Set config send cmd failed\n");
@@ -903,7 +905,6 @@ static struct scsi_host_template driver_template = {
903 .eh_device_reset_handler = hptiop_reset, 905 .eh_device_reset_handler = hptiop_reset,
904 .eh_bus_reset_handler = hptiop_reset, 906 .eh_bus_reset_handler = hptiop_reset,
905 .info = hptiop_info, 907 .info = hptiop_info,
906 .unchecked_isa_dma = 0,
907 .emulated = 0, 908 .emulated = 0,
908 .use_clustering = ENABLE_CLUSTERING, 909 .use_clustering = ENABLE_CLUSTERING,
909 .proc_name = driver_name, 910 .proc_name = driver_name,