Subject: Re: port-i386/4830: NE2000 ethernet board interrupt trouble
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: enami tsugutomo <enami@but-b.or.jp>
List: current-users
Date: 01/17/1998 09:45:13
Jason Thorpe <thorpej@nas.nasa.gov> writes:

> If a comment in a piece of code says "wait 5ms", the code should take some
> measures to make sure it waits at least that long.

I think also it's a bug that loop may exit too early if it expires
where comment says it waits but up to 5ms.  So, adding 1us delay IN
the loop is probably appropriate fix.

But his proposed change is not adding delay in the loop but adding
after the loop.  So, his problem may be a different bug, isn't it?

enami.