summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-08-27 20:31:55 +0000
committerkettenis <kettenis@openbsd.org>2010-08-27 20:31:55 +0000
commitc17c2288a07c0f4cae94d6ee9e5fceae44cfc50d (patch)
tree5adaff9b460dff719c190531afac5f33b96085a4 /sys/dev/pci/pcivar.h
parentMove the activate function from pci to the the main driver, so that the (diff)
downloadwireguard-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.h3
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.