diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 6 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_ata.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 0841df01bc19..3e78bc2d9170 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -5222,12 +5222,12 @@ static unsigned int ipr_qc_issue(struct ata_queued_cmd *qc) | |||
5222 | regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA; | 5222 | regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA; |
5223 | break; | 5223 | break; |
5224 | 5224 | ||
5225 | case ATA_PROT_ATAPI: | 5225 | case ATAPI_PROT_PIO: |
5226 | case ATA_PROT_ATAPI_NODATA: | 5226 | case ATAPI_PROT_NODATA: |
5227 | regs->flags |= IPR_ATA_FLAG_PACKET_CMD; | 5227 | regs->flags |= IPR_ATA_FLAG_PACKET_CMD; |
5228 | break; | 5228 | break; |
5229 | 5229 | ||
5230 | case ATA_PROT_ATAPI_DMA: | 5230 | case ATAPI_PROT_DMA: |
5231 | regs->flags |= IPR_ATA_FLAG_PACKET_CMD; | 5231 | regs->flags |= IPR_ATA_FLAG_PACKET_CMD; |
5232 | regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA; | 5232 | regs->flags |= IPR_ATA_FLAG_XFER_TYPE_DMA; |
5233 | break; | 5233 | break; |
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index 831294de1d8d..f78d0605747d 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c | |||
@@ -200,7 +200,7 @@ static unsigned int sas_ata_qc_issue(struct ata_queued_cmd *qc) | |||
200 | case ATA_PROT_NCQ: | 200 | case ATA_PROT_NCQ: |
201 | task->ata_task.use_ncq = 1; | 201 | task->ata_task.use_ncq = 1; |
202 | /* fall through */ | 202 | /* fall through */ |
203 | case ATA_PROT_ATAPI_DMA: | 203 | case ATAPI_PROT_DMA: |
204 | case ATA_PROT_DMA: | 204 | case ATA_PROT_DMA: |
205 | task->ata_task.dma_xfer = 1; | 205 | task->ata_task.dma_xfer = 1; |
206 | break; | 206 | break; |