diff options
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r-- | drivers/scsi/pmcraid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index 86d158ee3572..4874dd62a62f 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -1076,7 +1076,7 @@ static struct pmcraid_cmd *pmcraid_init_hcam | |||
1076 | 1076 | ||
1077 | ioarcb->data_transfer_length = cpu_to_le32(rcb_size); | 1077 | ioarcb->data_transfer_length = cpu_to_le32(rcb_size); |
1078 | 1078 | ||
1079 | ioadl[0].flags |= cpu_to_le32(IOADL_FLAGS_READ_LAST); | 1079 | ioadl[0].flags |= IOADL_FLAGS_READ_LAST; |
1080 | ioadl[0].data_len = cpu_to_le32(rcb_size); | 1080 | ioadl[0].data_len = cpu_to_le32(rcb_size); |
1081 | ioadl[0].address = cpu_to_le32(dma); | 1081 | ioadl[0].address = cpu_to_le32(dma); |
1082 | 1082 | ||
@@ -2256,7 +2256,7 @@ static void pmcraid_request_sense(struct pmcraid_cmd *cmd) | |||
2256 | 2256 | ||
2257 | ioadl->address = cpu_to_le64(cmd->sense_buffer_dma); | 2257 | ioadl->address = cpu_to_le64(cmd->sense_buffer_dma); |
2258 | ioadl->data_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE); | 2258 | ioadl->data_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE); |
2259 | ioadl->flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 2259 | ioadl->flags = IOADL_FLAGS_LAST_DESC; |
2260 | 2260 | ||
2261 | /* request sense might be called as part of error response processing | 2261 | /* request sense might be called as part of error response processing |
2262 | * which runs in tasklets context. It is possible that mid-layer might | 2262 | * which runs in tasklets context. It is possible that mid-layer might |
@@ -3022,7 +3022,7 @@ static int pmcraid_build_ioadl( | |||
3022 | ioadl[i].flags = 0; | 3022 | ioadl[i].flags = 0; |
3023 | } | 3023 | } |
3024 | /* setup last descriptor */ | 3024 | /* setup last descriptor */ |
3025 | ioadl[i - 1].flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 3025 | ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC; |
3026 | 3026 | ||
3027 | return 0; | 3027 | return 0; |
3028 | } | 3028 | } |
@@ -3392,7 +3392,7 @@ static int pmcraid_build_passthrough_ioadls( | |||
3392 | } | 3392 | } |
3393 | 3393 | ||
3394 | /* setup the last descriptor */ | 3394 | /* setup the last descriptor */ |
3395 | ioadl[i - 1].flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 3395 | ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC; |
3396 | 3396 | ||
3397 | return 0; | 3397 | return 0; |
3398 | } | 3398 | } |
@@ -5319,7 +5319,7 @@ static void pmcraid_querycfg(struct pmcraid_cmd *cmd) | |||
5319 | cpu_to_le32(sizeof(struct pmcraid_config_table)); | 5319 | cpu_to_le32(sizeof(struct pmcraid_config_table)); |
5320 | 5320 | ||
5321 | ioadl = &(ioarcb->add_data.u.ioadl[0]); | 5321 | ioadl = &(ioarcb->add_data.u.ioadl[0]); |
5322 | ioadl->flags = cpu_to_le32(IOADL_FLAGS_LAST_DESC); | 5322 | ioadl->flags = IOADL_FLAGS_LAST_DESC; |
5323 | ioadl->address = cpu_to_le64(pinstance->cfg_table_bus_addr); | 5323 | ioadl->address = cpu_to_le64(pinstance->cfg_table_bus_addr); |
5324 | ioadl->data_len = cpu_to_le32(sizeof(struct pmcraid_config_table)); | 5324 | ioadl->data_len = cpu_to_le32(sizeof(struct pmcraid_config_table)); |
5325 | 5325 | ||