diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2023-04-25 11:36:56 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2023-04-25 11:36:56 +0000 |
commit | 8b74e3dca908fe252224e293a27d3195c6710173 (patch) | |
tree | 4b323f309b2687a9cc1e11562609f848f3af9b5b /sys | |
parent | a3534aae6df0c2d2cc89760cd0f698cef59f6261 (diff) |
Enable power management for PCI devices.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdt/dwpcie.c | 4 |
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); } |