diff options
author | Tobias Heider <tobhe@cvs.openbsd.org> | 2023-07-08 08:01:11 +0000 |
---|---|---|
committer | Tobias Heider <tobhe@cvs.openbsd.org> | 2023-07-08 08:01:11 +0000 |
commit | 8d8075d866dc1a1354ed5214e871f6041ba0e43e (patch) | |
tree | bebd3e6b838e2cc26e67cdeabf350ff5bc36a354 /sys/arch/amd64 | |
parent | 45787c261e24661844f7ff5ff0bac4aa88ded024 (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.amd64 | 3 |
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 |