diff options
author | Tejun Heo <htejun@gmail.com> | 2006-07-03 03:07:26 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-05 22:16:27 -0400 |
commit | e9c839142d698086d3fe33a0daafde55ddd00c4e (patch) | |
tree | f7b586dec514854b536866c9d9cbe2bd39e25c23 /drivers/scsi/sata_sil24.c | |
parent | 28324304350e23db24d679c55de3f06a5b1e40aa (diff) |
[PATCH] libata: clean up debounce parameters and improve parameter selection
The names of predefined debounce timing parameters didn't exactly
match their usages. Rename to more generic names and implement param
selection helper sata_ehc_deb_timing() which uses EHI_HOTPLUGGED to
select params.
Combined with the previous EHI_RESUME_LINK differentiation, this makes
parameter selection accurate. e.g. user scan resumes link but normal
deb param is used instead of hotplug param.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 07a1c6a8a414..04ae1ef25484 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -607,7 +607,7 @@ static int sil24_hardreset(struct ata_port *ap, unsigned int *class) | |||
607 | /* SStatus oscillates between zero and valid status after | 607 | /* SStatus oscillates between zero and valid status after |
608 | * DEV_RST, debounce it. | 608 | * DEV_RST, debounce it. |
609 | */ | 609 | */ |
610 | rc = sata_phy_debounce(ap, sata_deb_timing_before_fsrst); | 610 | rc = sata_phy_debounce(ap, sata_deb_timing_long); |
611 | if (rc) { | 611 | if (rc) { |
612 | reason = "PHY debouncing failed"; | 612 | reason = "PHY debouncing failed"; |
613 | goto err; | 613 | goto err; |