mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
libata: WIN_* -> ATA_CMD_*
Acked-by: Jeff Garzik <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
1 parent
f41891c134
commit
a4f19040a3
1 file changed
+1
-1
@@ -503,7 +503,7 @@ int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg)
|
||||
scsi_cmd[0] = ATA_16;
|
||||
|
||||
scsi_cmd[4] = args[2];
|
||||
if (args[0] == WIN_SMART) { /* hack -- ide driver does this too... */
|
||||
if (args[0] == ATA_CMD_SMART) { /* hack -- ide driver does this too */
|
||||
scsi_cmd[6] = args[3];
|
||||
scsi_cmd[8] = args[1];
|
||||
scsi_cmd[10] = 0x4f;
|
||||
|
||||
Reference in new issue
Block a user