Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 10:59:16 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Emanuel Strobl <Emanuel.strobl@gmx.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: device sio vs. device uart
Message-ID:  <200506221059.17834.jhb@FreeBSD.org>
In-Reply-To: <200506220117.09044@harrymail>
References:  <200506101356.50355@harrymail> <200506211541.43452.jhb@FreeBSD.org> <200506220117.09044@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 21 June 2005 07:16 pm, Emanuel Strobl wrote:
> Am Dienstag, 21. Juni 2005 21:41 schrieb John Baldwin:
> > On Friday 10 June 2005 07:56 am, Emanuel Strobl wrote:
> > > Originally I posted this to questions@ but got no answer so I'd like
> > > to ask here:
> > >
> > > Hello,
> > >
> > > after compiling a custom kernel with device uart instead of device sio
> > > I see the following in my boot message:
> > > sio0 failed to probe at port 0x3f8 irq 4 on isa0
> > > sio1 failed to probe at port 0x2f8 irq 3 on isa0
> > > sio2: not probed (disabled)
> > > sio3: not probed (disabled)
> > >
> > > But I don't have sio in my kernel at all.
> > >
> > > Can someone please explain me the major differences (besides the
> > > newbus adaption) between sio and uart? And why is sio still in
> > > GENERIC? And of course why do I see these sio messages?
> > >
> > > Thanks in advance,
> >
> > I won't get into sio vs uart, but you will need to remove all of your
> > 'sio' hints from device.hints to make the sio devices go away.
>
> oic, thanks. Surprisingly I couldn't collect uart information yet, I just
> found out that I can't use uart for serial console (on i386), at least not
> if all I do is to replace sio with uart in my kernel config.
> Since I don't understand the code I have no idea why I would want to use
> uart. Is it beneficial (on the i386 arch) to have a newbusified driver?

sio(4) is new-bussed, too.  uart(4) tends to be helpful in that it handles 
other types of uarts on non-x86 that sio(4) doesn't support.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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