Re: sio => uart: one port is gone

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 16 Sep 2008 09:14:44 +0300
> on 15/09/2008 18:58 Marcel Moolenaar said the following:
> > 
> > On Sep 15, 2008, at 5:49 AM, Andriy Gapon wrote:
> > 
> [snip]
> >>
> >> This is what I have in device.hints for uart:
> >> hint.uart.0.at="isa"
> >> hint.uart.0.port="0x3F8"
> >> hint.uart.0.flags="0x10"
> >> hint.uart.0.irq="4"
> >> hint.uart.1.at="isa"
> >> hint.uart.1.port="0x2F8"
> >> hint.uart.1.irq="3"
> >> hint.uart.2.at="isa"
> >>
> >> Precisely the same hints (s/uart/sio/) I had for sio.
> > 
> > The hints are bogus.
> [snip]
> 
> BTW, I think that the following patch should be applied (made against 
> RELENG_7):
> 
> --- a/sys/i386/conf/GENERIC.hints
> +++ b/sys/i386/conf/GENERIC.hints
> _at__at_ -39,7 +39,7 _at__at_
>   hint.sio.0.flags="0x10"
>   hint.sio.0.irq="4"
>   hint.sio.1.at="isa"
> -hint.sio.1.port="0x2F8"
> +hint.sio.1.port="0x2E8"
>   hint.sio.1.irq="3"
>   hint.sio.2.at="isa"
>   hint.sio.2.disabled="1"
> 
> This is from where I copied the wrong hint.

I think the standard for uart1/sio1/com2 IS 0x2F8. maybe your BIOS was 
modified?
Then again, to quote A. Tanenbaum:
    'I love standards, there are so many to choose from'

danny
Received on Tue Sep 16 2008 - 04:31:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC