NetBSD/sys/dev/acpi/files.acpi
kochi 71dc5a9687 Add ACPI_DISABLE_ON_POWEROFF option.
Note: the default behavior is changed.  Now we don't disable the ACPI
subsystem on power off (halt -p) by default.
'options ACPI_DISABLE_ON_POWEROFF' in a kernel config file makes the kernel
behave the way we used to be.
2004-06-07 15:33:17 +00:00

67 lines
1.7 KiB
Plaintext

# $NetBSD: files.acpi,v 1.27 2004/06/07 15:33:17 kochi Exp $
include "dev/acpi/acpica/files.acpica"
defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV ACPI_DISABLE_ON_POWEROFF
device acpi { }: sysmon_power, sysmon_taskq
attach acpi at acpibus
file dev/acpi/acpi.c acpi needs-flag
file dev/acpi/acpi_resource.c acpi
file dev/acpi/acpi_powerres.c acpi
file dev/acpi/acpi_madt.c acpi & mpacpi
file dev/acpi/acpi_quirks.c acpi
# ACPI Embedded Controller
device acpiec
attach acpiec at acpi
file dev/acpi/acpi_ec.c acpiec needs-flag
# ACPI Lid Switch
device acpilid: sysmon_power
attach acpilid at acpi
file dev/acpi/acpi_lid.c acpilid
# ACPI Button
device acpibut: sysmon_power
attach acpibut at acpi
file dev/acpi/acpi_button.c acpibut
# ACPI AC Adapter
device acpiacad: sysmon_envsys, sysmon_power
attach acpiacad at acpi
file dev/acpi/acpi_acad.c acpiacad
# ACPI Control Method Battery
device acpibat: sysmon_envsys
attach acpibat at acpi
file dev/acpi/acpi_bat.c acpibat
# ACPI Thermal Zone
device acpitz: sysmon_envsys
attach acpitz at acpi
file dev/acpi/acpi_tz.c acpitz
# Serial interface
attach com at acpi with com_acpi
file dev/acpi/com_acpi.c com_acpi
# Floppy disk controller
attach fdc at acpi with fdc_acpi
file dev/acpi/fdc_acpi.c fdc_acpi
# Parallel interface
attach lpt at acpi with lpt_acpi
file dev/acpi/lpt_acpi.c lpt_acpi & !ppbus
attach atppc at acpi with atppc_acpi: isadma
file dev/acpi/atppc_acpi.c atppc_acpi
# Keyboard controller
attach pckbc at acpi with pckbc_acpi
file dev/acpi/pckbc_acpi.c pckbc_acpi
# NeoMagic 256AV audio with CS4232 codec
attach wss at acpi with wss_acpi
file dev/acpi/wss_acpi.c wss_acpi