Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 01:15:08 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Joerg Wunsch <joerg@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Brian Somers <brian@Awfulhak.org>
Subject:   Re: cvs commit: src/sys/isa fd.c fdreg.h 
Message-ID:  <200205110015.g4B0F8nA006576@hak.lan.Awfulhak.org>
In-Reply-To: Message from Joerg Wunsch <joerg@FreeBSD.org>  of "Fri, 10 May 2002 10:56:39 PDT." <200205101756.g4AHudj76454@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> joerg       2002/05/10 10:56:39 PDT
> 
>   Modified files:
>     sys/isa              fd.c fdreg.h 
>   Log:
>   Change the PIO loops from a hard counter into a loop that calls DELAY()
>   in each cycle, with a tunable max cycle count defined in fdreg.h.
>   
>   This is said to fix the problem on some Compaq hardware (and perhaps
>   on other machines using the Natsemi PC87317 chip) where the fdc(4)
>   driver failed to operate at all.
>   
>   PR:             kern/21397
>   Submitted by:   Jung-uk Kim <jkim@niksun.com>
>   MFC after:      3 days
>   
>   Revision  Changes    Path
>   1.229     +14 -8     src/sys/isa/fd.c
>   1.16      +12 -0     src/sys/isa/fdreg.h

As fdc is also a module, would it be better to call tsleep() instead 
of delay if (!cold) ?  Like in sys/dev/digi/digi.c:digi_delay()...

-- 
Brian <brian@Awfulhak.org>                    <brian@freebsd-services.com>
      <http://www.Awfulhak.org>;                   <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205110015.g4B0F8nA006576>