Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 02:03:24 -0500 (CDT)
From:      Lars Eighner <luvbeastie@larseighner.com>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to add sio to 8.2 ?
Message-ID:  <alpine.BSF.2.00.1107210148150.10545@abbf.onfvpvfc.arg>
In-Reply-To: <4e282389.Xp4wlKlnQhE/B3qm%perryh@pluto.rain.com>
References:  <alpine.BSF.2.00.1107190501001.40820@abbf.onfvpvfc.arg> <4e282389.Xp4wlKlnQhE/B3qm%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jul 2011, perryh@pluto.rain.com wrote:

> Lars Eighner <luvbeastie@larseighner.com> wrote:
>
>> I've come to the conclusion that I need sio to be able to use 8.x.
>>
>> Can it be as simple as just dropping the code from 7.x into the
>> source for 8.x and adding a line to the kernel configuration?
>>
>> Or would this be fraught with all kinds of deep traps?
>
> sio(4) was replaced by uart(4) as part of the Giant retirement.
> Depending on what you need that uart(4) does not currently have,
> it might be easier to improve uart(4) than to resurrect sio(4).

In the meantime I actually answered my own question. sio is in the source
code for 8.2 (or at least it was not deleted by cvsup).  It certainly
appears that it is only necessary to add device sio to the kernel
configuration.  I have not actually compiled it yet.  I think I might have
to remove uart to keep it from grabbing the COMM devices.

uart cannot properly identify the only internal hardware dial-up modem still
obtainable (and incorrectly identifies its chip) --- the one we all had to
buy to run FreeBSD.  Whether its inability to handle dial-up PPP on demand
is the fault of the new TTY set up (as some have suggested) can only really
be determined by seeing if sio can function in the same environment, but
that uart authors overlooked a piece of hardware required for years in
FreeBSD sort of suggests that perhaps they overlooked other things.

-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266




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