summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2023-04-25 11:36:56 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2023-04-25 11:36:56 +0000
commit8b74e3dca908fe252224e293a27d3195c6710173 (patch)
tree4b323f309b2687a9cc1e11562609f848f3af9b5b /sys/dev/fdt
parenta3534aae6df0c2d2cc89760cd0f698cef59f6261 (diff)
Enable power management for PCI devices.
ok kettenis@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/dwpcie.c4
1 files changed, 3 insertions, 1 deletions
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 <kettenis@openbsd.org>
*
@@ -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);
}