diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-11 09:32:19 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-11 13:31:36 -0400 |
commit | 0eaa6058a6a664ce692e3dc38c6891a74ca47f59 (patch) | |
tree | 58f2c7f19d20a036e15b52c0171583ca8053a1a2 /drivers | |
parent | 2555d6c268240fb3f5f335bd62d0518025343c0f (diff) |
[PATCH] sata_sil24: kill 10ms sleep in softreset
Nothing, not the datasheet nor the errats, says this delay is
necessary and with the previous PORT_CS_INIT change, we know the
controller is in good state. Kill 10ms sleep.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index bfbd630a889c..be4817e6502b 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -480,12 +480,7 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class) | |||
480 | goto err; | 480 | goto err; |
481 | } | 481 | } |
482 | 482 | ||
483 | /* | 483 | /* do SRST */ |
484 | * XXX: Not sure whether the following sleep is needed or not. | ||
485 | * The original driver had it. So.... | ||
486 | */ | ||
487 | msleep(10); | ||
488 | |||
489 | prb->ctrl = PRB_CTRL_SRST; | 484 | prb->ctrl = PRB_CTRL_SRST; |
490 | prb->fis[1] = 0; /* no PM yet */ | 485 | prb->fis[1] = 0; /* no PM yet */ |
491 | 486 | ||