jiffies, HZ, etc. on the alpha

Paul Gortmaker (gpg109@rsphy1.anu.edu.au)
Tue, 27 Jun 1995 17:42:40 +1000 (EST)


After reading 1.3.4, I was wondering if the goal is to make all
jiffies related time code independent of architecture by using HZ instead
of using absolute numbers. Or is this being done to just the code/drivers
that the alpha will be using?

If the goal is to do all of them, then please don't do the ones in the
net drivers (jiffies - dev->trans_start > 20 etc). Reasoning is that
these are going to disappear anyway, as the timeout check is being moved
out of each individual driver, and into dev.c to reduce code duplication.

I will make sure that my patch that does this also makes all the net
drivers "architecture friendly" wherever jiffies are used. I will get
that updated and out ASAP. You never know -- somebody might actually
stick an ol' crusty ne1000 card into an alpha someday... :-)

Thanks,
Paul.