Re: HZ ethernet question

Rik van Riel (rik@reseau.nl)
Sat, 7 Aug 1999 00:37:46 +0200 (CEST)


On Fri, 6 Aug 1999, Anton Ivanov wrote:

> Sorry for the dumb question:

Good analysis :)

> I have noticed in some of the drivers (f.e. hamachi.c) the following
> definition:
> #define TX_TIMEOUT (2*HZ)
> Doesn't this evaluate to a different value on alpha?

Indeed it does. And it should. The timeout is supposed to be two
*seconds* - this means the jiffies value on x86 is 200 and on AXP
it's 2048, or more simply put: (2*HZ)

cheers,

Rik.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/