From owner-freebsd-acpi@FreeBSD.ORG Tue May 2 22:51:13 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11BF16A414; Tue, 2 May 2006 22:51:13 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F7043D45; Tue, 2 May 2006 22:51:12 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.6/8.13.6) with ESMTP id k42MpBEZ026889; Tue, 2 May 2006 15:51:11 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <200605021559.44121.jhb@freebsd.org> References: <20060502181804.GA93421@svm.csie.ntu.edu.tw> <200605021559.44121.jhb@freebsd.org> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Tue, 2 May 2006 15:51:11 -0700 To: John Baldwin X-Mailer: Apple Mail (2.749.3) Cc: freebsd-acpi@freebsd.org, Rong-En Fan Subject: Re: acpi as kernel module on i386 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 22:51:18 -0000 On May 2, 2006, at 12:59 PM, John Baldwin wrote: > On Tuesday 02 May 2006 14:18, Rong-En Fan wrote: >> Hi, >> >> Recently commit to ppc code that also decouples the isa+acpi >> attachment into separate case, that makes my ppc and lpt disappear >> if acpi is loaded as a module. (see the thread "lpt0 disappear (ppc >> related) on -current) >> >> However, i386/conf/NOTES says that building acpi into module is >> deprecated. Just wondering why amd64 uses acpi in kernel conf >> (I'm not sure about other arch), and on i386 we said this is a >> deprecated usage? > > ACPI is mandatory for amd64 and ia64, but it is optional on i386. > Because it is optional, it is a module so that the loader can only > load it on machines that support it. I think the ppc module should > be changed to include the acpi attachment personally, assuming that > the ppc module already includes the ppc isa attachment. On i386, it should be safe to compile the acpi(4) attachment when only device isa is configured into the kernel. It should not be done for all platforms. While acpi(4) is mandatory on ia64, isa(4) isn't and it's my goal to get rid of isa(4) altogether on ia64. Alternatively, acpi(4) can be considered non-optional for current x86 hardware and having acpi(4) configured into the kernel is not such an odd thing to do for a modern x86 operating system. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net