From f02e807fa25f680ebd31ec163004ca4deb8589d6 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 25 Apr 2023 11:36:55 +0000 Subject: [PATCH] Enable power management for PCI devices. ok kettenis@ --- sys/dev/fdt/dwpcie.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index 18ca6f1c578..5f7dfdcd3d6 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/sys/dev/fdt/dwpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwpcie.c,v 1.45 2023/04/24 15:15:00 patrick Exp $ */ +/* $OpenBSD: dwpcie.c,v 1.46 2023/04/25 11:36:55 patrick Exp $ */ /* * Copyright (c) 2018 Mark Kettenis * @@ -705,6 +705,8 @@ dwpcie_attach_deferred(struct device *self) sc->sc_msi_addr) pba.pba_flags |= PCI_FLAGS_MSI_ENABLED; + pci_dopm = 1; + config_found(self, &pba, NULL); } -- 2.20.1