aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/pata_sis.c
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2007-11-15 13:13:59 +0900
committerTejun Heo <htejun@gmail.com>2007-11-19 12:28:11 +0900
commit607126c2a21cd6e9bb807fdd415c1a992f7b9009 (patch)
treeec383bc937b0a19b8da4e1c02a3191ea625f40db /drivers/ata/pata_sis.c
parentf442cd86c1c86c5f44bc2cf23f89536f7e4cfe59 (diff)
libata-scsi: be tolerant of 12-byte ATAPI commands in 16-byte CDBs
Sebastian Kemper reported that issuing CD/DVD commands under libata is not fully compatible with ide-scsi. In particular, the GPCMD_SET_STREAMING was being rejected at the host level in some instances. The reason is that libata-scsi insists upon the cmd_len field exactly matching the SCSI opcode being issued, whereas ide-scsi tolerates 12-byte commands contained within a 16-byte (cmd_len) CDB. There doesn't seem to be a good reason for us to not be compatible there, so here is a patch to fix libata-scsi to permit SCSI opcodes so long as they fit within whatever size CDB is provided. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/pata_sis.c')
0 files changed, 0 insertions, 0 deletions