Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 20:07:06 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        grog@FreeBSD.org
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:  <20020923.200706.128047002.imp@bsdimp.com>
In-Reply-To: <20020924014944.GC14284@wantadilla.lemis.com>
References:  <200209231550.g8NFo6tV086431@freefall.freebsd.org> <20020924014944.GC14284@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  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.  Do
you have a specific problem with it, or does it just smell a little
weird at first?

Warner

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?20020923.200706.128047002.imp>