1# $NetBSD: files.acpi,v 1.92 2011/09/22 01:15:31 jakllsch Exp $ 2 3include "dev/acpi/acpica/files.acpica" 4 5defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV 6 ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT 7defparam opt_acpi.h ACPI_DSDT_FILE := "\"/dev/null\"" 8defparam opt_acpi.h ACPI_BLACKLIST_YEAR = 2000 9 10define acpiapmbus { } 11define acpinodebus { } 12define acpiecdtbus { } 13define acpihpetbus { } 14define acpiwdrtbus { } 15 16device acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, acpihpetbus, acpiwdrtbus, sysmon_power, sysmon_taskq 17attach acpi at acpibus 18file dev/acpi/acpi.c acpi 19file dev/acpi/acpi_debug.c acpi 20file dev/acpi/acpi_pci.c acpi 21file dev/acpi/acpi_pci_link.c acpi 22file dev/acpi/acpi_power.c acpi 23file dev/acpi/acpi_quirks.c acpi 24file dev/acpi/acpi_resource.c acpi 25file dev/acpi/acpi_srat.c acpi 26file dev/acpi/acpi_slit.c acpi 27file dev/acpi/acpi_timer.c acpi 28file dev/acpi/acpi_util.c acpi 29file dev/acpi/acpi_wakedev.c acpi 30file dev/acpi/acpi_verbose.c acpi & acpiverbose 31 32# ACPI/apm emulation. 33attach apm at acpiapmbus with acpiapm: sysmon_envsys 34file dev/acpi/acpi_apm.c acpiapm 35 36# ACPI Embedded Controller 37device acpiec 38attach acpiec at acpinodebus 39device acpiecdt 40attach acpiecdt at acpiecdtbus 41file dev/acpi/acpi_ec.c acpiec|acpiecdt 42 43# ACPI Lid Switch 44device acpilid: sysmon_power 45attach acpilid at acpinodebus 46file dev/acpi/acpi_lid.c acpilid 47 48# ACPI Button 49device acpibut: sysmon_power 50attach acpibut at acpinodebus 51file dev/acpi/acpi_button.c acpibut 52 53# ACPI AC Adapter 54device acpiacad: sysmon_envsys, sysmon_power 55attach acpiacad at acpinodebus 56file dev/acpi/acpi_acad.c acpiacad 57 58# ACPI Control Method Battery 59device acpibat: sysmon_envsys 60attach acpibat at acpinodebus 61file dev/acpi/acpi_bat.c acpibat 62 63# ACPI Display 64device acpivga {} 65attach acpivga at acpinodebus 66device acpiout 67attach acpiout at acpivga 68file dev/acpi/acpi_display.c acpivga|acpiout 69 70# ACPI Fan 71device acpifan: sysmon_envsys 72attach acpifan at acpinodebus 73file dev/acpi/acpi_fan.c acpifan 74 75# ACPI Power Meter 76device acpipmtr: sysmon_envsys 77attach acpipmtr at acpinodebus 78file dev/acpi/acpi_pmtr.c acpipmtr 79 80# ACPI Thermal Zone 81device acpitz: sysmon_envsys 82attach acpitz at acpinodebus 83file dev/acpi/acpi_tz.c acpitz 84 85# ACPI Watchdog Timer 86device acpiwdrt: sysmon_wdog 87attach acpiwdrt at acpiwdrtbus 88file dev/acpi/acpi_wdrt.c acpiwdrt 89 90# Serial interface 91attach com at acpinodebus with com_acpi 92file dev/acpi/com_acpi.c com_acpi 93 94# Floppy disk controller 95attach fdc at acpinodebus with fdc_acpi 96file dev/acpi/fdc_acpi.c fdc_acpi 97 98# Parallel interface 99attach lpt at acpinodebus with lpt_acpi 100file dev/acpi/lpt_acpi.c lpt_acpi & !ppbus 101 102attach atppc at acpinodebus with atppc_acpi: isadma 103file dev/acpi/atppc_acpi.c atppc_acpi 104 105# Keyboard controller 106attach pckbc at acpinodebus with pckbc_acpi 107file dev/acpi/pckbc_acpi.c pckbc_acpi 108 109# NeoMagic 256AV audio with CS4232 codec 110attach wss at acpinodebus with wss_acpi 111file dev/acpi/wss_acpi.c wss_acpi 112 113# Roland MPU401 (compatible) MIDI UART 114attach mpu at acpinodebus with mpu_acpi 115file dev/acpi/mpu_acpi.c mpu_acpi 116 117# Joystick/Game port 118attach joy at acpinodebus with joy_acpi 119file dev/acpi/joy_acpi.c joy_acpi 120 121# AT-style speaker sound 122attach pcppi at acpinodebus with pcppi_acpi 123file dev/acpi/pcppi_acpi.c pcppi_acpi 124 125# AT Timer 126attach attimer at acpinodebus with attimer_acpi 127file dev/acpi/attimer_acpi.c attimer_acpi 128 129# Trusted Platform Module 130attach tpm at acpinodebus with tpm_acpi 131file dev/acpi/tpm_acpi.c tpm_acpi 132 133# Yamaha OPL3-SAx 134attach ym at acpinodebus with ym_acpi 135file dev/acpi/ym_acpi.c ym_acpi 136 137# High Precision Event Timer 138attach hpet at acpinodebus with hpet_acpi_dev 139attach hpet at acpihpetbus with hpet_acpi_tab 140file dev/acpi/hpet_acpi.c hpet_acpi_dev|hpet_acpi_tab 141 142# ASUS hotkey device 143device asus: sysmon_envsys, sysmon_power 144attach asus at acpinodebus 145file dev/acpi/asus_acpi.c asus 146 147# Abit uGuru 2005 148attach ug at acpinodebus with ug_acpi 149file dev/acpi/ug_acpi.c ug_acpi 150 151# HP 3D DriveGuard accelerometer 152device hpacel: sysmon_envsys 153attach hpacel at acpinodebus 154file dev/acpi/hpacel_acpi.c hpacel 155 156# HP Quick Launch Buttons 157device hpqlb: sysmon_power 158attach hpqlb at acpinodebus 159file dev/acpi/hpqlb_acpi.c hpqlb 160 161# Sony Notebook Controller (brightness, hotkeys, etc.) 162device sony: displaydev 163attach sony at acpinodebus with sony_acpi 164file dev/acpi/sony_acpi.c sony_acpi 165 166# Toshiba hotkeys 167device vald 168attach vald at acpinodebus with vald_acpi 169file dev/acpi/vald_acpi.c vald_acpi 170 171# Sony SPIC (jog dial etc.) 172attach spic at acpinodebus with spic_acpi 173file dev/acpi/spic_acpi.c spic_acpi 174 175# IBM/Lenovo Thinkpad hotkey device 176device thinkpad 177attach thinkpad at acpinodebus 178file dev/acpi/thinkpad_acpi.c thinkpad 179 180# Direct Application Launch Buttons 181device acpidalb 182attach acpidalb at acpinodebus 183file dev/acpi/dalb_acpi.c acpidalb 184 185# Winbond Integrated Media Reader 186attach wb at acpinodebus with wb_acpi 187file dev/acpi/wb_acpi.c wb_acpi 188 189# ASUSTeK AI Booster 190device aibs: sysmon_envsys 191attach aibs at acpinodebus 192file dev/acpi/aibs_acpi.c aibs 193 194# ACPI SMBus controller 195device acpismbus: i2cbus 196attach acpismbus at acpinodebus 197file dev/acpi/smbus_acpi.c acpismbus 198 199# Fujitsu Brightness & Pointer 200device fujbp 201attach fujbp at acpinodebus 202file dev/acpi/fujbp_acpi.c fujbp 203 204# Fujitsu Hotkeys 205device fujhk: sysmon_power 206attach fujhk at acpinodebus 207file dev/acpi/fujhk_acpi.c fujhk 208 209include "dev/acpi/wmi/files.wmi" 210