diff options
-rw-r--r-- | drivers/ata/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 59fe051957ef..5d312dc9be9f 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -503,7 +503,7 @@ int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg) | |||
503 | scsi_cmd[0] = ATA_16; | 503 | scsi_cmd[0] = ATA_16; |
504 | 504 | ||
505 | scsi_cmd[4] = args[2]; | 505 | scsi_cmd[4] = args[2]; |
506 | if (args[0] == WIN_SMART) { /* hack -- ide driver does this too... */ | 506 | if (args[0] == ATA_CMD_SMART) { /* hack -- ide driver does this too */ |
507 | scsi_cmd[6] = args[3]; | 507 | scsi_cmd[6] = args[3]; |
508 | scsi_cmd[8] = args[1]; | 508 | scsi_cmd[8] = args[1]; |
509 | scsi_cmd[10] = 0x4f; | 509 | scsi_cmd[10] = 0x4f; |