From owner-cvs-all Mon Sep 23 19: 7:24 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8141E37B401; Mon, 23 Sep 2002 19:07:23 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69EF343E42; Mon, 23 Sep 2002 19:07:22 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g8O27K9R003009; Mon, 23 Sep 2002 20:07:21 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 23 Sep 2002 20:07:06 -0600 (MDT) Message-Id: <20020923.200706.128047002.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 From: "M. Warner Losh" In-Reply-To: <20020924014944.GC14284@wantadilla.lemis.com> References: <200209231550.g8NFo6tV086431@freefall.freebsd.org> <20020924014944.GC14284@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020924014944.GC14284@wantadilla.lemis.com> "Greg 'groggy' Lehey" 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