From owner-freebsd-arch@FreeBSD.ORG Tue May 11 15:14:52 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D11716A4CF for ; Tue, 11 May 2004 15:14:52 -0700 (PDT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E885B43D31 for ; Tue, 11 May 2004 15:14:51 -0700 (PDT) (envelope-from nate@root.org) Received: (qmail 77656 invoked by uid 1000); 11 May 2004 22:14:53 -0000 Date: Tue, 11 May 2004 15:14:53 -0700 (PDT) From: Nate Lawson To: Marcel Moolenaar In-Reply-To: <20040508164334.GA3217@dhcp01.pn.xcllnt.net> Message-ID: <20040511151428.P77557@root.org> References: <20040507231846.F52653@root.org> <20040508164334.GA3217@dhcp01.pn.xcllnt.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi@freebsd.org cc: arch@freebsd.org Subject: Re: New ACPI blacklist format X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 22:14:52 -0000 On Sat, 8 May 2004, Marcel Moolenaar wrote: > On Fri, May 07, 2004 at 11:28:15PM -0700, Nate Lawson wrote: > > *snip* > > > static struct acpi_table_desc Abit_BP6[] = { > > { "FACP", "AWARD", "AWRDACPI", "<=", "30302e31", "", "", "" }, > > }; > > static struct acpi_table_desc AMI_INT[] = { /* 01/18/00 */ > > { "FACP", "AWARD", "", "<=", "10", "", "", "" }, > > { "DSDT", "", "", "<=", "5", "", "", "" }, > > }; > > static struct acpi_table_desc Compaq_ViperII[] = { > > { "FACP", "COMPAQ", "VIPER II", "<=", "06040000", "PTL", "<=", "000F4240" }, > > }; > > *snip* > > If space is a concern, you can enable (i.e. compile-in) quirks by > using kernel options, like: > > options ACPI_QUIRK_ABIT_BP6 > > and > > #ifdef ACPI_QUIRK_ABIT_BP6 > static struct acpi_table_desc Abit_BP6[] = { > { "FACP", "AWARD", "AWRDACPI", "<=", "30302e31", "", "", "" }, > }; > #endif > > You put all three of them in GENERIC and people can add or remove them > from their own kernel configuration to fit their needs (and save space). > If the quirks are in MI files, then this also avoids that i386 quirks > end up in amd64 or ia64 kernels. There will be about 100-300 of these. :) -Nate