diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/libata-core.c | 9 |
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); |