diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:20 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:20 -0400 |
commit | a4f19040a3a6cd431efe0a10b9d2e8d5e3904865 (patch) | |
tree | 6e28b0fb878e80959385ddc70bd899f65d16f504 /drivers/ata/libata-scsi.c | |
parent | f41891c134ccdd07583ebd8d4af7fed883375672 (diff) |
libata: WIN_* -> ATA_CMD_*
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-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; |