]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: add support for ATA_16 on ATAPI
authorMark Lord <liml@rtr.ca>
Tue, 7 Aug 2007 16:08:45 +0000 (01:08 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:32 +0000 (14:55 -0400)
commitbaf4fdfaaf5cb9f4fb1c341c8cef60a64e580582
treef26293a36958a6813bf1353cb07afd3d6be6aa0d
parent4cc980b34b2a25f600576dcd11de388bc44e1ebd
libata: add support for ATA_16 on ATAPI

Add support for issuing ATA_16 passthru commands to ATAPI devices
managed by libata.  It requires the previous CDB length fix patch.

A boot/module parameter, "atapi_passthru16=0" can be used to globally
disable this feature, if ever desired.

tj: restructured __ata_scsi_queuecmd() according to Jeff's suggestion.

Signed-off-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h