summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2003-10-06 16:04:45 +0000
committerfgsch <fgsch@openbsd.org>2003-10-06 16:04:45 +0000
commitddc68db722f51d3699b9760b875fed85933cbd63 (patch)
tree4ad9af31978593032a4a6d39f96a0ecf59697b7a
parentCorrectly handle sparse mappings in pmap_changebit() and pmap_testbit(). (diff)
downloadwireguard-openbsd-ddc68db722f51d3699b9760b875fed85933cbd63.tar.xz
wireguard-openbsd-ddc68db722f51d3699b9760b875fed85933cbd63.zip
power management status reg. definition; from netbsd.
ok deraadt@ henning@ krw@.
-rw-r--r--sys/dev/pci/pcireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 8b305462bb2..596d0df6ebd 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcireg.h,v 1.23 2003/08/27 20:59:15 mickey Exp $ */
+/* $OpenBSD: pcireg.h,v 1.24 2003/10/06 16:04:45 fgsch Exp $ */
/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
/*
@@ -463,6 +463,7 @@ typedef u_int8_t pci_revision_t;
/*
* Power Management Control Status Register; access via capability pointer.
*/
+#define PCI_PMCSR 0x04
#define PCI_PMCSR_STATE_MASK 0x03
#define PCI_PMCSR_STATE_D0 0x00
#define PCI_PMCSR_STATE_D1 0x01