summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-02-15 12:24:56 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-02-15 12:24:56 +0000
commit196e33760a79420def8ae762987580588741bf1d (patch)
treefee9b397dab5b78f7cd65b492d9cbcec3a386c3a
parent6d4885a40edc96d6499e50276995833ed5837ca3 (diff)
com at acpi like com at isa needs com_active() for suspend/resume support.
Fixes my com0 issues after zzz and ZZZ. OK kettenis@ miod@
-rw-r--r--sys/dev/acpi/com_acpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/com_acpi.c b/sys/dev/acpi/com_acpi.c
index 9643fcb9d11..b1e3f30f6ab 100644
--- a/sys/dev/acpi/com_acpi.c
+++ b/sys/dev/acpi/com_acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_acpi.c,v 1.6 2021/12/26 13:55:36 kettenis Exp $ */
+/* $OpenBSD: com_acpi.c,v 1.7 2022/02/15 12:24:55 claudio Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
@@ -44,7 +44,8 @@ int com_acpi_match(struct device *, void *, void *);
void com_acpi_attach(struct device *, struct device *, void *);
struct cfattach com_acpi_ca = {
- sizeof(struct com_acpi_softc), com_acpi_match, com_acpi_attach
+ sizeof(struct com_acpi_softc), com_acpi_match, com_acpi_attach,
+ NULL, com_activate
};
const char *com_hids[] = {