*BSD News Article 70415


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!news.mathworks.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Inserting delays in sio driver
Date: Fri, 07 Jun 1996 19:12:35 -0700
Organization: Erols Internet Services
Lines: 23
Message-ID: <31B8E193.2134@www.play-hookey.com>
References: <4p7456$ah9@news.tamu.edu>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (Win16; I)

Michael B. Reed wrote:
> 
> I've got an old Supra 14.4K modem configured as sio1, but FreeBSD
> (both versions 2.0.5 and 2.1) is spotty about finding it during the
> device probe at boot time - the modem fails probe test 3.
> 
> I remember from a while back that someone spoke of inserting delays
> into the driver in the probe code to give the modem more time to
> respond or to set the right values.
> 
> Has anyone tried inserting these delays?  I've noticed several "extra
> delay?" comments in sio.c, and I would assume that inserting one of the
> DELAY() macros at this point would be the appropriate thing to do.
> 

Just for luck, you might check one other thing first: verify that your ISA 
bus is not clocking faster than 8.00 MHz (even 33 MHz/4 can be too fast). 
Or, you might insert a wait state in the ISA R/W cycle. These are both ROM 
BIOS settings.

Most cards can run a bit faster, but that's not guaranteed.

Ken