From 21e6898173e6610f40c1da5cfcd6a0150070bea3 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 1 Jan 2023 11:29:09 +0000 Subject: [PATCH] Enable power management for PCI devices. ok mlarkin@, deraadt@ --- sys/arch/arm64/dev/aplpcie.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm64/dev/aplpcie.c b/sys/arch/arm64/dev/aplpcie.c index 613469a166e..99bddf57235 100644 --- a/sys/arch/arm64/dev/aplpcie.c +++ b/sys/arch/arm64/dev/aplpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aplpcie.c,v 1.13 2022/04/06 18:59:26 naddy Exp $ */ +/* $OpenBSD: aplpcie.c,v 1.14 2023/01/01 11:29:09 kettenis Exp $ */ /* * Copyright (c) 2021 Mark Kettenis * @@ -379,6 +379,8 @@ aplpcie_attach(struct device *parent, struct device *self, void *aux) sc->sc_msi_ic.ic_barrier = intr_barrier; fdt_intr_register(&sc->sc_msi_ic); + pci_dopm = 1; + config_found(self, &pba, NULL); } -- 2.20.1