Subject: Re: smartmedia adaptors
To: Chris G. Demetriou <cgd@netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 01/26/2000 02:44:23
"Chris G. Demetriou" wrote:

> Lennart Augustsson <lennart@augustsson.net> writes:
> > What I'd like to know is what the h**l wdcprobe is up to?  It's using delay()
> > for up to 49s?!?  Any calls to delay() with an argument bigger than, say, 100
> > should be banned.  (Unless you KNOW this is cold boot.)
>
> until relatively recently, it was safe for the probe code to assume
> that it was a cold boot.  further, until even more recently, there
> wasn't any sane _alternative_ (threads).

I realize where the code comes from, but we've had PCMCIA support for
about 2.5 years now.  So you'd think that those delay()s would be gone
by now...
Perhaps a DIAGNOSTIC in delay() would help us find them?


--

        -- Lennart