Subject: Re: accessing IDE hard drive via pcmcia card
To: Steven M. Bellovin <>
From: Charles M. Hannum <>
List: netbsd-users
Date: 05/20/2004 05:44:59
On Thursday 20 May 2004 00:58, Steven M. Bellovin wrote:
> In message <>, Manuel Bouyer writes:
> >How long do you wait ?
> >Per the specs, a reset can take up to 31s.
> That was the answer.  I fiddled with my code a bit to allow for a
> longer wait; the drive is now recognized.  I'm going to play with
> things a bit more and then send in a PR with the fix.

This "fix" is simply not going to be acceptable as a general-purpose thing.  
Not only will it cause us to potentially wait 31 seconds when no drive is 
present again, but it will also reintroduce the problem of busy-waiting a 
long time when a card is inserted.  It has to be done better.