Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2007 16:18:07 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        current@freebsd.org
Subject:   Re: New-bus unit wiring via hints..
Message-ID:  <899CA6AE-C21C-45EE-B95A-787F587616A6@mac.com>
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> <D89F1D4B-D23A-4B8A-89D6-4C98B15AD5FA@mac.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>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?899CA6AE-C21C-45EE-B95A-787F587616A6>