diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-12-13 10:29:45 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-13 10:29:45 +0300 |
commit | 50630195bbdfe1ca775d94cd68a5f18bc1b717e4 (patch) | |
tree | ad1e44e89d714b2785fc33a5800488571db7a7c5 /drivers/scsi/sata_sx4.c | |
parent | be0d9b6c7aeaad1683059c00131cabd4c894c17c (diff) | |
download | linux-50630195bbdfe1ca775d94cd68a5f18bc1b717e4.tar.xz |
[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.
Diffstat (limited to 'drivers/scsi/sata_sx4.c')
-rw-r--r-- | drivers/scsi/sata_sx4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sx4.c b/drivers/scsi/sata_sx4.c index dcc3ad9a9d6e..ac7b0d819ebc 100644 --- a/drivers/scsi/sata_sx4.c +++ b/drivers/scsi/sata_sx4.c @@ -220,7 +220,8 @@ static struct ata_port_info pdc_port_info[] = { { .sht = &pdc_sata_sht, .host_flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | - ATA_FLAG_SRST | ATA_FLAG_MMIO, + ATA_FLAG_SRST | ATA_FLAG_MMIO | + ATA_FLAG_NO_ATAPI, .pio_mask = 0x1f, /* pio0-4 */ .mwdma_mask = 0x07, /* mwdma0-2 */ .udma_mask = 0x7f, /* udma0-6 ; FIXME */ |