aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2005-08-26 10:56:47 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-26 17:36:25 -0400
commit31433ea369d250ad011577eee6110d3efcb9d861 (patch)
tree5fc76351fd3049cb3548e958fd79236bf202b332 /drivers/scsi/libata-core.c
parentb8f6153ee421014f42b620238f4203a4106db309 (diff)
[PATCH] libata: typo
You spelt heuristic wrongly. Also reformatted to 80 columns, ignore the diff and fix the typo if you prefer that. Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index ec7bff73ae18..19b45c2bfa26 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -2459,11 +2459,10 @@ static void ata_pio_complete (struct ata_port *ap)
2459 u8 drv_stat; 2459 u8 drv_stat;
2460 2460
2461 /* 2461 /*
2462 * This is purely hueristic. This is a fast path. 2462 * This is purely heuristic. This is a fast path. Sometimes when
2463 * Sometimes when we enter, BSY will be cleared in 2463 * we enter, BSY will be cleared in a chk-status or two. If not,
2464 * a chk-status or two. If not, the drive is probably seeking 2464 * the drive is probably seeking or something. Snooze for a couple
2465 * or something. Snooze for a couple msecs, then 2465 * msecs, then chk-status again. If still busy, fall back to
2466 * chk-status again. If still busy, fall back to
2467 * PIO_ST_POLL state. 2466 * PIO_ST_POLL state.
2468 */ 2467 */
2469 drv_stat = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 10); 2468 drv_stat = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 10);