Subject: Re: wi0 on SMC 2632W
To: Lennart Augustsson <lennart@mail.augustsson.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-i386
Date: 12/18/2000 21:33:25
On Mon, Dec 18, 2000 at 09:43:54PM -0500, Lennart Augustsson wrote:
> > I believe I fixed this in my current version; stolen from Bill's code, I
> > have
> > if (sc->sc_prism2) {
> > (do the init)
> > DELAY(100000);
> > (do the init)
> > DELAY(100000);
> > }
>
> ARRRGGHHH!! Never call delay() with values that large. Use some other
> way to delay execution.
...but if you do, make sure to lock the data structure so that another
process can't come in and frob it underneath you.
--
-- Jason R. Thorpe <thorpej@zembu.com>