diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-18 16:34:43 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:14 -0500 |
commit | 0dc36888d4422140f9eaf50f24953ec109f750a3 (patch) | |
tree | 80253b1831849e4063b73c31c15011c5e4c48404 /drivers/scsi/ipr.c | |
parent | 537b53c1692960b8b3b0324e886fbe48cb9e5c00 (diff) |
libata: rename ATA_PROT_ATAPI_* to ATAPI_PROT_*
ATA_PROT_ATAPI_* are ugly and naming schemes between ATA_PROT_* and
ATA_PROT_ATAPI_* are inconsistent causing confusion. Rename them to
ATAPI_PROT_* and make them consistent with ATA counterpart.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 6 |
1 files changed, 3 insertions, 3 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; |