]> git.baikalelectronics.ru Git - kernel.git/commit
target: Handle ATA_16 passthrough for pSCSI backend devices
authormengcong <mc@linux.vnet.ibm.com>
Thu, 17 May 2012 03:14:46 +0000 (11:14 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 17 May 2012 07:45:58 +0000 (00:45 -0700)
commit824ff4259ec49922546837c80dff4a6fd9729548
tree700e56db8e6515a0616460020686ed56f5f4bd48
parent11b9ee7871800265f97e2002305d9e97843af63e
target: Handle ATA_16 passthrough for pSCSI backend devices

The cdrecord uses ATA_PASS_THROUGH_16 command while burning CDs
with a SATA CD-ROM. This patch adds support to it so that PSCSI
CD-ROM passthrough works with the cdrecord.

(nab: Add !passthrough check to prevent non pSCSI backends from ATA_16)

Signed-off-by: Cong Meng <mc@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c