artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c41a2
)
Enable power management for PCI devices.
author
kettenis
<kettenis@openbsd.org>
Sun, 1 Jan 2023 11:29:09 +0000
(11:29 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 1 Jan 2023 11:29:09 +0000
(11:29 +0000)
ok mlarkin@, deraadt@
sys/arch/arm64/dev/aplpcie.c
patch
|
blob
|
history
diff --git
a/sys/arch/arm64/dev/aplpcie.c
b/sys/arch/arm64/dev/aplpcie.c
index
613469a
..
99bddf5
100644
(file)
--- a/
sys/arch/arm64/dev/aplpcie.c
+++ b/
sys/arch/arm64/dev/aplpcie.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: aplpcie.c,v 1.1
3 2022/04/06 18:59:26 naddy Exp $
*/
+/* $OpenBSD: aplpcie.c,v 1.1
4 2023/01/01 11:29:09 kettenis Exp $
*/
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@
-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);
}