diff options
author | 2010-08-27 20:31:55 +0000 | |
---|---|---|
committer | 2010-08-27 20:31:55 +0000 | |
commit | c17c2288a07c0f4cae94d6ee9e5fceae44cfc50d (patch) | |
tree | 5adaff9b460dff719c190531afac5f33b96085a4 /sys/dev/pci/pcivar.h | |
parent | Move the activate function from pci to the the main driver, so that the (diff) | |
download | wireguard-openbsd-c17c2288a07c0f4cae94d6ee9e5fceae44cfc50d.tar.xz wireguard-openbsd-c17c2288a07c0f4cae94d6ee9e5fceae44cfc50d.zip |
Make PCI Power Management optional, and only enable it when acpi(4) attaches.
ok deraadt@
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r-- | sys/dev/pci/pcivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 8a0d45e30fc..3133c435e69 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcivar.h,v 1.60 2010/08/17 19:14:52 kettenis Exp $ */ +/* $OpenBSD: pcivar.h,v 1.61 2010/08/27 20:31:55 kettenis Exp $ */ /* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */ /* @@ -193,6 +193,7 @@ struct pci_softc { }; extern int pci_ndomains; +extern int pci_dopm; /* * Locators devices that attach to 'pcibus', as specified to config. |