Date: Tue, 16 Sep 2008 09:14:44 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: Andriy Gapon <avg@icyb.net.ua> Cc: Mike Tancsa <mike@sentex.net>, Marcel Moolenaar <xcllnt@mac.com>, Ian Smith <smithi@nimnet.asn.au>, freebsd-current@freebsd.org Subject: Re: sio => uart: one port is gone Message-ID: <E1KfTpk-000E9W-Pf@cs1.cs.huji.ac.il> In-Reply-To: <48CEC04C.8000707@icyb.net.ua> References: <48CE59C2.9060307@icyb.net.ua> <BA357CBA-D4F8-44F0-99ED-BDF443DF0AD3@mac.com> <48CEC04C.8000707@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KfTpk-000E9W-Pf>