[PATCH] libata: Note a nasty ATA quirk
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 7 Nov 2005 17:06:33 +0000 (17:06 +0000)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 10 Nov 2005 12:30:37 +0000 (07:30 -0500)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-scsi.c

index bb30fcdc929763d767ad369267207dff7a624a53..7e37f488f591d5240f1371f265c583aa9c735944 100644 (file)
@@ -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;