aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-27 12:49:19 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-29 19:30:28 -0500
commit692785e798f341c057ff976c35a3d86ad5af8ac6 (patch)
treec1bb3f9cfc1baa7702e8bc32c72141516598511b /drivers/scsi/libata-core.c
parente35a9e01f2a504871e70576a9e11dbe4d8dee456 (diff)
[PATCH] libata - ATA is both ATA and CFA
I think this is still needed with the new probe code (which btw seems to be missing docs in upstream ?). Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 10933cb722e6..41659448a204 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1140,7 +1140,7 @@ static int ata_dev_read_id(struct ata_port *ap, struct ata_device *dev,
1140 swap_buf_le16(id, ATA_ID_WORDS); 1140 swap_buf_le16(id, ATA_ID_WORDS);
1141 1141
1142 /* sanity check */ 1142 /* sanity check */
1143 if ((class == ATA_DEV_ATA) != ata_id_is_ata(id)) { 1143 if ((class == ATA_DEV_ATA) != (ata_id_is_ata(id) | ata_id_is_cfa(id))) {
1144 rc = -EINVAL; 1144 rc = -EINVAL;
1145 reason = "device reports illegal type"; 1145 reason = "device reports illegal type";
1146 goto err_out; 1146 goto err_out;