* defflag ACPI_DSDT_OVERRIDE and defparam ACPI_DSDT_FILE.
* adjust comments to reality
This commit is contained in:
parent
b5702c305e
commit
e438cb4b93
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: OsdMisc.c,v 1.12 2005/12/11 12:21:02 christos Exp $ */
|
||||
/* $NetBSD: OsdMisc.c,v 1.13 2006/01/05 16:56:54 rpaulo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
|
@ -42,8 +42,9 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: OsdMisc.c,v 1.12 2005/12/11 12:21:02 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: OsdMisc.c,v 1.13 2006/01/05 16:56:54 rpaulo Exp $");
|
||||
|
||||
#include "opt_acpi.h"
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -69,14 +70,13 @@ __KERNEL_RCSID(0, "$NetBSD: OsdMisc.c,v 1.12 2005/12/11 12:21:02 christos Exp $"
|
|||
* -or-
|
||||
* options ACPI_DSDT_FILE="\"yourdsdt.hex\"" in
|
||||
* your config file and yourdsdt.hex in the build directory
|
||||
* 6. uncomment ACPI_DEDT_OVERRIDE or options ACPI_DSDT_OVERRIDE
|
||||
* in your kernel config file and rebuild the kernel
|
||||
* 6. options ACPI_DSDT_OVERRIDE in your kernel config file
|
||||
* and rebuild the kernel
|
||||
*
|
||||
* (*1) /usr/pkgsrc/sysutils/acpidump
|
||||
* (*2) /usr/pkgsrc/sysutils/acpi-iasl
|
||||
*/
|
||||
|
||||
/* #define ACPI_DSDT_OVERRIDE */
|
||||
#ifdef ACPI_DSDT_OVERRIDE
|
||||
#ifndef ACPI_DSDT_FILE
|
||||
#define ACPI_DSDT_FILE "dsdt.hex"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# $NetBSD: files.acpi,v 1.33 2005/12/11 12:21:02 christos Exp $
|
||||
# $NetBSD: files.acpi,v 1.34 2006/01/05 16:56:54 rpaulo Exp $
|
||||
|
||||
include "dev/acpi/acpica/files.acpica"
|
||||
|
||||
defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
|
||||
defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF ACPI_DSDT_OVERRIDE
|
||||
defparam opt_acpi.h ACPI_DSDT_FILE
|
||||
|
||||
device acpi { }: sysmon_power, sysmon_taskq
|
||||
attach acpi at acpibus
|
||||
|
|
Loading…
Reference in New Issue