New ACPI blacklist format

M. Warner Losh imp at bsdimp.com
Tue May 11 17:34:45 PDT 2004


In message: <20040511151428.P77557 at root.org>
            Nate Lawson <nate at root.org> writes:
: 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.  :)

All the more reason to have them in a form that can easily be subset
and takes the tedium (== error possibilities) out of the loop :-)

Warner


More information about the freebsd-acpi mailing list