summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2005-11-07 17:06:33 +0000
committerJeff Garzik <jgarzik@pobox.com>2005-11-10 07:30:37 -0500
commitf51750d5eab50f0db5396a5ca30d5bafc038c263 (patch)
treed81fd11e7acd0bbc6c273ef80603867c0c28333b /drivers/scsi/libata-scsi.c
parent3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff)
downloadop-kernel-dev-f51750d5eab50f0db5396a5ca30d5bafc038c263.zip
op-kernel-dev-f51750d5eab50f0db5396a5ca30d5bafc038c263.tar.gz
[PATCH] libata: Note a nasty ATA quirk
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r--drivers/scsi/libata-scsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index bb30fcd..7e37f48 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -1129,6 +1129,8 @@ static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc, const u8 *scsicm
* length 0 means transfer 0 block of data.
* However, for ATA R/W commands, sector count 0 means
* 256 or 65536 sectors, not 0 sectors as in SCSI.
+ *
+ * WARNING: one or two older ATA drives treat 0 as 0...
*/
goto nothing_to_do;
OpenPOWER on IntegriCloud