From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 02:34:34 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 E945816A41B for ; Sun, 28 Oct 2007 02:34:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outU.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id C3AEC13C48E for ; Sun, 28 Oct 2007 02:34:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sat, 27 Oct 2007 19:34:33 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 59E86126825; Sat, 27 Oct 2007 19:34:33 -0700 (PDT) Message-ID: <4723F557.9060608@elischer.org> Date: Sat, 27 Oct 2007 19:35:03 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Marcel Moolenaar 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> <899CA6AE-C21C-45EE-B95A-787F587616A6@mac.com> In-Reply-To: <899CA6AE-C21C-45EE-B95A-787F587616A6@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 28 Oct 2007 02:34:35 -0000 Marcel Moolenaar wrote: > > 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... I'd argue that com0 is the one that windows calls com1 >