1 # $NetBSD: files.acpi,v 1.63 2009/12/03 21:04:29 cegger Exp $
3 include "dev/acpi/acpica/files.acpica"
5 defflag opt_acpi.h ACPIVERBOSE ACPI_DEBUG ACPI_ACTIVATE_DEV
6 ACPI_DSDT_OVERRIDE ACPI_SCANPCI ACPI_BREAKPOINT
7 defparam opt_acpi.h ACPI_DSDT_FILE := "\"/dev/null\""
10 define acpinodebus { }
11 define acpiecdtbus { }
14 device acpi: acpica, acpiapmbus, acpinodebus, acpiecdtbus, sysmon_power, sysmon_taskq
15 attach acpi at acpibus
16 file dev/acpi/acpi.c acpi
17 file dev/acpi/acpi_resource.c acpi
18 file dev/acpi/acpi_powerres.c acpi
19 file dev/acpi/acpi_madt.c acpi
20 file dev/acpi/acpi_pci.c acpi
21 file dev/acpi/acpi_pci_link.c acpi
22 file dev/acpi/acpi_quirks.c acpi
23 file dev/acpi/acpi_timer.c acpi
24 file dev/acpi/acpi_wakedev.c acpi
25 file dev/acpi/acpi_srat.c acpi
26 file dev/acpi/acpi_slit.c acpi
29 attach apm at acpiapmbus with acpiapm: sysmon_envsys
30 file dev/acpi/acpi_apm.c acpiapm
32 # ACPI Embedded Controller
34 attach acpiec at acpinodebus
36 attach acpiecdt at acpiecdtbus
37 file dev/acpi/acpi_ec.c acpiec|acpiecdt
40 device acpilid: sysmon_power
41 attach acpilid at acpinodebus
42 file dev/acpi/acpi_lid.c acpilid
45 device acpibut: sysmon_power
46 attach acpibut at acpinodebus
47 file dev/acpi/acpi_button.c acpibut
50 device acpiacad: sysmon_envsys, sysmon_power
51 attach acpiacad at acpinodebus
52 file dev/acpi/acpi_acad.c acpiacad
54 # ACPI Control Method Battery
55 device acpibat: sysmon_envsys
56 attach acpibat at acpinodebus
57 file dev/acpi/acpi_bat.c acpibat
60 device acpitz: sysmon_envsys
61 attach acpitz at acpinodebus
62 file dev/acpi/acpi_tz.c acpitz
65 attach com at acpinodebus with com_acpi
66 file dev/acpi/com_acpi.c com_acpi
68 # Floppy disk controller
69 attach fdc at acpinodebus with fdc_acpi
70 file dev/acpi/fdc_acpi.c fdc_acpi
73 attach lpt at acpinodebus with lpt_acpi
74 file dev/acpi/lpt_acpi.c lpt_acpi & !ppbus
76 attach atppc at acpinodebus with atppc_acpi: isadma
77 file dev/acpi/atppc_acpi.c atppc_acpi
80 attach pckbc at acpinodebus with pckbc_acpi
81 file dev/acpi/pckbc_acpi.c pckbc_acpi
83 # NeoMagic 256AV audio with CS4232 codec
84 attach wss at acpinodebus with wss_acpi
85 file dev/acpi/wss_acpi.c wss_acpi
87 # Roland MPU401 (compatible) MIDI UART
88 attach mpu at acpinodebus with mpu_acpi
89 file dev/acpi/mpu_acpi.c mpu_acpi
92 attach joy at acpinodebus with joy_acpi
93 file dev/acpi/joy_acpi.c joy_acpi
95 # AT-style speaker sound
96 attach pcppi at acpinodebus with pcppi_acpi
97 file dev/acpi/pcppi_acpi.c pcppi_acpi
100 attach attimer at acpinodebus with attimer_acpi
101 file dev/acpi/attimer_acpi.c attimer_acpi
104 attach ym at acpinodebus with ym_acpi
105 file dev/acpi/ym_acpi.c ym_acpi
107 # High Precision Event Timer
108 attach hpet at acpinodebus with hpet_acpi
109 file dev/acpi/hpet_acpi.c hpet_acpi
111 # ASUS AI Booster Hardware monitor
112 device aiboost: sysmon_envsys
113 attach aiboost at acpinodebus
114 file dev/acpi/aiboost.c aiboost
117 device asus: sysmon_envsys, sysmon_power
118 attach asus at acpinodebus
119 file dev/acpi/asus_acpi.c asus
122 attach ug at acpinodebus with ug_acpi
123 file dev/acpi/ug_acpi.c ug_acpi
125 # HP Quick Launch Buttons
126 device hpqlb: sysmon_power
127 attach hpqlb at acpinodebus
128 file dev/acpi/hpqlb_acpi.c hpqlb
130 # Sony Notebook Controller (brightness, hotkeys, etc.)
131 device sony: displaydev
132 attach sony at acpinodebus with sony_acpi
133 file dev/acpi/sony_acpi.c sony_acpi
135 # Sony SPIC (jog dial etc.)
136 attach spic at acpinodebus with spic_acpi
137 file dev/acpi/spic_acpi.c spic_acpi
139 # IBM/Lenovo Thinkpad hotkey device
141 attach thinkpad at acpinodebus
142 file dev/acpi/thinkpad_acpi.c thinkpad
144 # Direct Application Launch Buttons
146 attach acpidalb at acpinodebus
147 file dev/acpi/dalb_acpi.c acpidalb
149 # Winbond Integrated Media Reader
150 attach wb at acpinodebus with wb_acpi
151 file dev/acpi/wb_acpi.c wb_acpi
154 device acpiwmi: acpiwmibus
155 attach acpiwmi at acpinodebus
156 file dev/acpi/wmi_acpi.c acpiwmi