summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTobias Heider <tobhe@cvs.openbsd.org>2023-07-08 08:01:11 +0000
committerTobias Heider <tobhe@cvs.openbsd.org>2023-07-08 08:01:11 +0000
commit8d8075d866dc1a1354ed5214e871f6041ba0e43e (patch)
treebebd3e6b838e2cc26e67cdeabf350ff5bc36a354 /sys/arch/amd64
parent45787c261e24661844f7ff5ff0bac4aa88ded024 (diff)
Move /dev/apm related acpi code to acpi_apm.c which is only built on
amd64 and i386. This is the first step towards a machine independent safe sleep API. tested by yasuoka@ bluhm@ ok deraadt@ kettenis@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/conf/files.amd643
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/files.amd64 b/sys/arch/amd64/conf/files.amd64
index b565f2ed748..a3452d9729c 100644
--- a/sys/arch/amd64/conf/files.amd64
+++ b/sys/arch/amd64/conf/files.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: files.amd64,v 1.108 2023/04/26 15:11:21 mlarkin Exp $
+# $OpenBSD: files.amd64,v 1.109 2023/07/08 08:01:10 tobhe Exp $
maxpartitions 16
maxusers 2 16 128
@@ -237,6 +237,7 @@ attach acpi at bios
file arch/amd64/amd64/acpi_machdep.c acpi
file arch/amd64/amd64/acpi_wakecode.S acpi & !small_kernel
file dev/acpi/acpi_x86.c acpi & suspend & !small_kernel
+file dev/acpi/acpi_apm.c acpi
device acpipci
attach acpipci at acpi