[libata] mark certain hardware (or drivers) with a no-atapi flag
authorJeff Garzik <jgarzik@pobox.com>
Tue, 13 Dec 2005 07:29:45 +0000 (02:29 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 13 Dec 2005 07:29:45 +0000 (02:29 -0500)
commit50630195bbdfe1ca775d94cd68a5f18bc1b717e4
treead1e44e89d714b2785fc33a5800488571db7a7c5
parentbe0d9b6c7aeaad1683059c00131cabd4c894c17c
[libata] mark certain hardware (or drivers) with a no-atapi flag

Some hardware does not support the PACKET command at all.
Other hardware supports ATAPI, but the driver does something nasty such
as calling BUG() when an ATAPI command is issued.

For these such cases, we mark them with a new flag, ATA_FLAG_NO_ATAPI.

Initial version contributed by Ben Collins.
drivers/scsi/libata-scsi.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_promise.c
drivers/scsi/sata_sx4.c
include/linux/libata.h