From owner-freebsd-current@FreeBSD.ORG Tue Sep 16 06:31:34 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EDAB1065673 for ; Tue, 16 Sep 2008 06:31:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 238448FC08 for ; Tue, 16 Sep 2008 06:31:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1KfTpk-000E9W-Pf; Tue, 16 Sep 2008 09:14:44 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Andriy Gapon In-reply-to: <48CEC04C.8000707@icyb.net.ua> References: <48CE59C2.9060307@icyb.net.ua> <48CEC04C.8000707@icyb.net.ua> Comments: In-reply-to Andriy Gapon message dated "Mon, 15 Sep 2008 23:06:36 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Sep 2008 09:14:44 +0300 From: Danny Braniss Message-ID: Cc: Mike Tancsa , Marcel Moolenaar , Ian Smith , freebsd-current@freebsd.org Subject: Re: sio => uart: one port is gone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 06:31:34 -0000 > 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