libata: Support for an ATA PASS-THROUGH(32) command.

SAT-4(SCSI/ATA Translation) supports for an ata pass-thru(32).
This patch will allow to translate an ata pass-thru(32) SCSI cmd
to an ATA cmd.

Signed-off-by: Minwoo Im <dn3108@gmail.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Minwoo Im
2017-06-24 03:41:10 +09:00
committed by Tejun Heo
parent 0ce968f382
commit b1ffbf854e
3 changed files with 69 additions and 6 deletions

View File

@@ -2661,7 +2661,7 @@ int ata_dev_configure(struct ata_device *dev)
ata_dev_config_sense_reporting(dev);
ata_dev_config_zac(dev);
ata_dev_config_trusted(dev);
dev->cdb_len = 16;
dev->cdb_len = 32;
}
/* ATAPI-specific feature tests */