e28e04ce32
control and output switching, through ACPI video extensions. TODO: use wsconsctl(8) instead of sysctl(8) for brightness control. ok jruoho@ also discussed with cegger@ and jmcneill@
186 lines
4.7 KiB
Plaintext
186 lines
4.7 KiB
Plaintext
# $NetBSD: files.acpi,v 1.81 2010/10/12 19:10:50 gsutre Exp $
|
|
|
|
include "dev/acpi/acpica/files.acpica"
|
|
|
|
defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
|
|
ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT
|
|
defparam opt_acpi.h ACPI_DSDT_FILE := "\"/dev/null\""
|
|
defparam opt_acpi.h ACPI_BLACKLIST_YEAR = 2000
|
|
|
|
define acpiapmbus { }
|
|
define acpinodebus { }
|
|
define acpiecdtbus { }
|
|
|
|
device acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
|
|
attach acpi at acpibus
|
|
file dev/acpi/acpi.c acpi
|
|
file dev/acpi/acpi_debug.c acpi
|
|
file dev/acpi/acpi_pci.c acpi
|
|
file dev/acpi/acpi_pci_link.c acpi
|
|
file dev/acpi/acpi_power.c acpi
|
|
file dev/acpi/acpi_quirks.c acpi
|
|
file dev/acpi/acpi_resource.c acpi
|
|
file dev/acpi/acpi_srat.c acpi
|
|
file dev/acpi/acpi_slit.c acpi
|
|
file dev/acpi/acpi_timer.c acpi
|
|
file dev/acpi/acpi_util.c acpi
|
|
file dev/acpi/acpi_wakedev.c acpi
|
|
file dev/acpi/acpi_verbose.c acpi & acpiverbose
|
|
|
|
# ACPI/apm emulation.
|
|
attach apm at acpiapmbus with acpiapm: sysmon_envsys
|
|
file dev/acpi/acpi_apm.c acpiapm
|
|
|
|
# ACPI Embedded Controller
|
|
device acpiec
|
|
attach acpiec at acpinodebus
|
|
device acpiecdt
|
|
attach acpiecdt at acpiecdtbus
|
|
file dev/acpi/acpi_ec.c acpiec|acpiecdt
|
|
|
|
# ACPI Lid Switch
|
|
device acpilid: sysmon_power
|
|
attach acpilid at acpinodebus
|
|
file dev/acpi/acpi_lid.c acpilid
|
|
|
|
# ACPI Button
|
|
device acpibut: sysmon_power
|
|
attach acpibut at acpinodebus
|
|
file dev/acpi/acpi_button.c acpibut
|
|
|
|
# ACPI AC Adapter
|
|
device acpiacad: sysmon_envsys, sysmon_power
|
|
attach acpiacad at acpinodebus
|
|
file dev/acpi/acpi_acad.c acpiacad
|
|
|
|
# ACPI Control Method Battery
|
|
device acpibat: sysmon_envsys
|
|
attach acpibat at acpinodebus
|
|
file dev/acpi/acpi_bat.c acpibat
|
|
|
|
# ACPI CPU
|
|
device acpicpu
|
|
attach acpicpu at acpinodebus
|
|
file dev/acpi/acpi_cpu.c acpicpu
|
|
file dev/acpi/acpi_cpu_cstate.c acpicpu
|
|
file dev/acpi/acpi_cpu_pstate.c acpicpu
|
|
file dev/acpi/acpi_cpu_tstate.c acpicpu
|
|
|
|
# ACPI Display
|
|
device acpivga {}
|
|
attach acpivga at acpinodebus
|
|
device acpiout
|
|
attach acpiout at acpivga
|
|
file dev/acpi/acpi_display.c acpivga|acpiout
|
|
|
|
# ACPI Thermal Zone
|
|
device acpitz: sysmon_envsys
|
|
attach acpitz at acpinodebus
|
|
file dev/acpi/acpi_tz.c acpitz
|
|
|
|
# Serial interface
|
|
attach com at acpinodebus with com_acpi
|
|
file dev/acpi/com_acpi.c com_acpi
|
|
|
|
# Floppy disk controller
|
|
attach fdc at acpinodebus with fdc_acpi
|
|
file dev/acpi/fdc_acpi.c fdc_acpi
|
|
|
|
# Parallel interface
|
|
attach lpt at acpinodebus with lpt_acpi
|
|
file dev/acpi/lpt_acpi.c lpt_acpi & !ppbus
|
|
|
|
attach atppc at acpinodebus with atppc_acpi: isadma
|
|
file dev/acpi/atppc_acpi.c atppc_acpi
|
|
|
|
# Keyboard controller
|
|
attach pckbc at acpinodebus with pckbc_acpi
|
|
file dev/acpi/pckbc_acpi.c pckbc_acpi
|
|
|
|
# NeoMagic 256AV audio with CS4232 codec
|
|
attach wss at acpinodebus with wss_acpi
|
|
file dev/acpi/wss_acpi.c wss_acpi
|
|
|
|
# Roland MPU401 (compatible) MIDI UART
|
|
attach mpu at acpinodebus with mpu_acpi
|
|
file dev/acpi/mpu_acpi.c mpu_acpi
|
|
|
|
# Joystick/Game port
|
|
attach joy at acpinodebus with joy_acpi
|
|
file dev/acpi/joy_acpi.c joy_acpi
|
|
|
|
# AT-style speaker sound
|
|
attach pcppi at acpinodebus with pcppi_acpi
|
|
file dev/acpi/pcppi_acpi.c pcppi_acpi
|
|
|
|
# AT Timer
|
|
attach attimer at acpinodebus with attimer_acpi
|
|
file dev/acpi/attimer_acpi.c attimer_acpi
|
|
|
|
# Yamaha OPL3-SAx
|
|
attach ym at acpinodebus with ym_acpi
|
|
file dev/acpi/ym_acpi.c ym_acpi
|
|
|
|
# High Precision Event Timer
|
|
attach hpet at acpinodebus with hpet_acpi
|
|
file dev/acpi/hpet_acpi.c hpet_acpi
|
|
|
|
# ASUS hotkey device
|
|
device asus: sysmon_envsys, sysmon_power
|
|
attach asus at acpinodebus
|
|
file dev/acpi/asus_acpi.c asus
|
|
|
|
# Abit uGuru 2005
|
|
attach ug at acpinodebus with ug_acpi
|
|
file dev/acpi/ug_acpi.c ug_acpi
|
|
|
|
# HP Quick Launch Buttons
|
|
device hpqlb: sysmon_power
|
|
attach hpqlb at acpinodebus
|
|
file dev/acpi/hpqlb_acpi.c hpqlb
|
|
|
|
# Sony Notebook Controller (brightness, hotkeys, etc.)
|
|
device sony: displaydev
|
|
attach sony at acpinodebus with sony_acpi
|
|
file dev/acpi/sony_acpi.c sony_acpi
|
|
|
|
# Toshiba hotkeys
|
|
device vald
|
|
attach vald at acpinodebus with vald_acpi
|
|
file dev/acpi/vald_acpi.c vald_acpi
|
|
|
|
# Toshiba backlight hotkeys
|
|
device valz
|
|
attach valz at acpinodebus
|
|
file dev/acpi/valz_acpi.c valz
|
|
|
|
# Sony SPIC (jog dial etc.)
|
|
attach spic at acpinodebus with spic_acpi
|
|
file dev/acpi/spic_acpi.c spic_acpi
|
|
|
|
# IBM/Lenovo Thinkpad hotkey device
|
|
device thinkpad
|
|
attach thinkpad at acpinodebus
|
|
file dev/acpi/thinkpad_acpi.c thinkpad
|
|
|
|
# Direct Application Launch Buttons
|
|
device acpidalb
|
|
attach acpidalb at acpinodebus
|
|
file dev/acpi/dalb_acpi.c acpidalb
|
|
|
|
# Winbond Integrated Media Reader
|
|
attach wb at acpinodebus with wb_acpi
|
|
file dev/acpi/wb_acpi.c wb_acpi
|
|
|
|
# ASUSTeK AI Booster ATK0110
|
|
device aibs: sysmon_envsys
|
|
attach aibs at acpinodebus
|
|
file dev/acpi/atk0110.c aibs
|
|
|
|
# ACPI SMBus controller
|
|
device acpismbus: i2cbus
|
|
attach acpismbus at acpinodebus
|
|
file dev/acpi/smbus_acpi.c acpismbus
|
|
|
|
include "dev/acpi/wmi/files.wmi"
|