aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-11-17 08:25:19 -0500
committerChristoph Hellwig <hch@lst.de>2014-11-24 14:01:40 -0500
commiteb846d9f147455e4e5e1863bfb5e31974bb69b7c (patch)
tree443efbb146c7824508be817923bab04c2185810e /drivers/ata
parent3af6b35261182ff185db1f0fd271254147e2663e (diff)
scsi: rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16
SPC-3 defines SERVICE ACTION IN(12) and SERVICE ACTION IN(16). So rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16 to be consistent with SPC and to allow for better distinction. Signed-off-by: Hannes Reinecke <hare@suse.de> Tested-by: Robert Elliott <elliott@hp.com> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index c8bb6abbf12c..fc6a60abe518 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -3570,7 +3570,7 @@ void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd)
3570 ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap); 3570 ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap);
3571 break; 3571 break;
3572 3572
3573 case SERVICE_ACTION_IN: 3573 case SERVICE_ACTION_IN_16:
3574 if ((scsicmd[1] & 0x1f) == SAI_READ_CAPACITY_16) 3574 if ((scsicmd[1] & 0x1f) == SAI_READ_CAPACITY_16)
3575 ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap); 3575 ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap);
3576 else 3576 else