ncr5380: Harmonize jiffies conversion with msecs_to_jiffies
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 4 Feb 2015 18:30:20 +0000 (13:30 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 9 Mar 2015 14:45:26 +0000 (10:45 -0400)
commit4e5a800c82ec21335349a97cf58d97fbb0d3c98e
tree429a22fce93302762923e312d79aa6d6daa670c8
parentb026e8ed55e05a81018ba4ce73ca0cf2c9300950
ncr5380: Harmonize jiffies conversion with msecs_to_jiffies

Instances of var * HZ / 1000 are replaced by msecs_to_jiffies(var).
In addition some timing constants that assumed HZ 100 were adjusted
to HZ independent settings based on review comments from Michael Schmitz
<schmitzmic@gmail.com> and review of the original drivers in 1.0.31 and
2.2.16.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/NCR5380.c
drivers/scsi/atari_NCR5380.c
drivers/scsi/g_NCR5380.c