From: claudio Date: Tue, 15 Feb 2022 12:24:55 +0000 (+0000) Subject: com at acpi like com at isa needs com_active() for suspend/resume support. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=883ce3c230793a292d7a0c2fec5e3d7048e85577;p=openbsd 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@ --- 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[] = {