From owner-freebsd-current@FreeBSD.ORG Sat Oct 27 23:18:46 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C905016A417 for ; Sat, 27 Oct 2007 23:18:46 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.80]) by mx1.freebsd.org (Postfix) with ESMTP id AEF8913C48A for ; Sat, 27 Oct 2007 23:18:46 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp007-s [10.150.69.70]) by smtpoutm.mac.com (Xserve/smtpout017/MantshX 4.0) with ESMTP id l9RNIkxn004794; Sat, 27 Oct 2007 16:18:46 -0700 (PDT) Received: from [172.24.104.109] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp007/MantshX 4.0) with ESMTP id l9RNIi9J002973 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 27 Oct 2007 16:18:44 -0700 (PDT) In-Reply-To: <20071027230132.GA12961@owl.midgard.homeip.net> References: <200710111741.34992.jhb@FreeBSD.org> <200710151216.36509.jhb@freebsd.org> <3E7A944C-6182-41A1-8881-C4B94428B65A@mac.com> <200710151510.35000.jhb@freebsd.org> <20071027174205.GK39759@funkthat.com> <20071027175856.GL39759@funkthat.com> <9F674BF7-58E2-4DC5-A082-F5128316F889@mac.com> <20071027214253.GA12390@owl.midgard.homeip.net> <3117246F-26D0-414B-9CBA-65F460F5EA39@mac.com> <20071027230132.GA12961@owl.midgard.homeip.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <899CA6AE-C21C-45EE-B95A-787F587616A6@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Sat, 27 Oct 2007 16:18:07 -0700 To: Erik Trulsson X-Mailer: Apple Mail (2.752.2) Cc: current@freebsd.org Subject: Re: New-bus unit wiring via hints.. 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: Sat, 27 Oct 2007 23:18:46 -0000 On Oct 27, 2007, at 4:01 PM, Erik Trulsson wrote: > On Sat, Oct 27, 2007 at 03:09:38PM -0700, Marcel Moolenaar wrote: >> >> On Oct 27, 2007, at 2:42 PM, Erik Trulsson wrote: >> >>> On Sat, Oct 27, 2007 at 12:09:29PM -0700, Marcel Moolenaar wrote: >>>> >>>> On Oct 27, 2007, at 10:58 AM, John-Mark Gurney wrote: >>>> >>>>> Yeh, you're solution was to simply declare that anyone who >>>>> knows that >>>>> COM1 is at 0x3f8 is wrong, and to use a different, yet again >>>>> arbitrary >>>>> solution which is which is listed first in ACPI... >>>> >>>> Exactly. Anyone who "knows" that COM1 is at 0x3f8 while >>>> the computer right in front of them clearly states that >>>> COM1 is at 0x2f8 is in denial. >>> >>> If I say in the BIOS setup screen that the first serial port is >>> to use 0x3f8, then that is the port which I want sio0 to attach to, >>> regardless of in which order FreeBSD sees them enumerated. >> >> What is the first serial port in the BIOS? > > It is the port which is labeled 'Serial Port 1' or something similar. I see. Some argue it's the UART at port 0x3f8, because that's how things have been documented. I like your definition, but unfortunately this thread is mostly about how we want sio0 at a fixed port by virtue of hints. >> Is that not the one >> that's enumerated first? > > Not necessarily, no. It should be, but is not always. Ok. What's buggy if it's not -- ACPI? > BIOSs are fairly often buggy or get things wrong. Being able to > override > the BIOS when it is wrong is a Good Thing. I would presume that we can patch the AML if it's an ACPI problem. That seems to me to be the right thing to do: you patch what is broken... -- Marcel Moolenaar marcelm@juniper.net