sio => uart: one port is gone

Danny Braniss danny at cs.huji.ac.il
Tue Sep 16 06:31:34 UTC 2008


> 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
> @@ -39,7 +39,7 @@
>   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




More information about the freebsd-current mailing list