Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 11:39:17 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        jhb@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf files.i386 src/sys/i386/i386 legacy.c src/sys/i386/include legacyvar.h
Message-ID:  <20020924020917.GC76938@wantadilla.lemis.com>
In-Reply-To: <20020923.200706.128047002.imp@bsdimp.com>
References:  <200209231550.g8NFo6tV086431@freefall.freebsd.org> <20020924014944.GC14284@wantadilla.lemis.com> <20020923.200706.128047002.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 23 September 2002 at 20:07:06 -0600, M. Warner Losh wrote:
> In message: <20020924014944.GC14284@wantadilla.lemis.com>
>             "Greg 'groggy' Lehey" <grog@FreeBSD.org> writes:
>> On Monday, 23 September 2002 at  8:50:06 -0700, John Baldwin wrote:
>>> jhb         2002/09/23 08:50:06 PDT
>>>
>>>   Modified files:
>>>     sys/conf             files.i386
>>>     sys/i386/i386        legacy.c
>>>     sys/i386/include     legacyvar.h
>>>   Log:
>>>   Add a new legacy(4) device driver for use on machines that do not have
>>>   ACPI or for when ACPI support is disabled or not present in the kernel.
>>>   Basically, the nexus device is now split into two with some parts
>>>   (such as adding default ISA, MCA, and EISA busses if they aren't found
>>>   as well as support for PCI bus device ivars) being moved to the legacy
>>>   driver.
>>
>> What's the rationale for this?
>
> Cleanliness of implementation.  The ia32 architecture has basically
> gone to requiring ACPI.

Hmm, you mean the PC architecture, right?  Does this affect PC98 as
well?

> Using ACPI means we do a whole lot of things differently.  So if we
> are using ACPI we attach ACPI drivers that do ACPI specific things.
> When we don't we attach the non-ACPI specific ones.  This has been
> discussed rather heavily over the last several weeks.  I've reviewed
> this as well, and it seems like a very sane thing to do.  So we
> really have gotten to the point where we have the 'legacy' way of
> doing and the 'acpi' way.  This makes good sense.

Thanks.

> Do you have a specific problem with it, or does it just smell a
> little weird at first?

Neither.  I was just wondering.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020924020917.GC76938>