diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2006-03-16 04:59:22 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-21 20:39:46 -0500 |
commit | f59b0cf8a3a39b75e580066c6a9aeabd97ec2743 (patch) | |
tree | 785118d3a81dbeea6308d6282eb32ae514089485 /drivers/scsi/libata-scsi.c | |
parent | 41ade50c4eff9477e6aef6b15e84673c6758ec0d (diff) |
[PATCH] libata-dev: Remove ATA_PROT_PIO_MULT
Remove the ATA_PROT_PIO_MULT protocol.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 3aaa74cbef1d..cebf9b31b516 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -2379,9 +2379,6 @@ ata_scsi_map_proto(u8 byte1) | |||
2379 | 2379 | ||
2380 | case 4: /* PIO Data-in */ | 2380 | case 4: /* PIO Data-in */ |
2381 | case 5: /* PIO Data-out */ | 2381 | case 5: /* PIO Data-out */ |
2382 | if (byte1 & 0xe0) { | ||
2383 | return ATA_PROT_PIO_MULT; | ||
2384 | } | ||
2385 | return ATA_PROT_PIO; | 2382 | return ATA_PROT_PIO; |
2386 | 2383 | ||
2387 | case 10: /* Device Reset */ | 2384 | case 10: /* Device Reset */ |
@@ -2420,6 +2417,10 @@ ata_scsi_pass_thru(struct ata_queued_cmd *qc, const u8 *scsicmd) | |||
2420 | if ((tf->protocol = ata_scsi_map_proto(scsicmd[1])) == ATA_PROT_UNKNOWN) | 2417 | if ((tf->protocol = ata_scsi_map_proto(scsicmd[1])) == ATA_PROT_UNKNOWN) |
2421 | goto invalid_fld; | 2418 | goto invalid_fld; |
2422 | 2419 | ||
2420 | if (scsicmd[1] & 0xe0) | ||
2421 | /* PIO multi not supported yet */ | ||
2422 | goto invalid_fld; | ||
2423 | |||
2423 | /* | 2424 | /* |
2424 | * 12 and 16 byte CDBs use different offsets to | 2425 | * 12 and 16 byte CDBs use different offsets to |
2425 | * provide the various register values. | 2426 | * provide the various register values. |