artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528d06d
)
Enable power management for PCI devices.
author
patrick
<patrick@openbsd.org>
Tue, 25 Apr 2023 11:36:55 +0000
(11:36 +0000)
committer
patrick
<patrick@openbsd.org>
Tue, 25 Apr 2023 11:36:55 +0000
(11:36 +0000)
ok kettenis@
sys/dev/fdt/dwpcie.c
patch
|
blob
|
history
diff --git
a/sys/dev/fdt/dwpcie.c
b/sys/dev/fdt/dwpcie.c
index
18ca6f1
..
5f7dfdc
100644
(file)
--- a/
sys/dev/fdt/dwpcie.c
+++ b/
sys/dev/fdt/dwpcie.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dwpcie.c,v 1.4
5 2023/04/24 15:15:00
patrick Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.4
6 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);
}