summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcireg.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-10-06 16:04:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-10-06 16:04:46 +0000
commitd7468939b53dcf467c79b3047ac755e4e201ef3b (patch)
treeab59c67d643078348641448280fcb504d3164777 /sys/dev/pci/pcireg.h
parentf6ef846f7d5ba9f287e4b2ab5462871806b0b2e6 (diff)
power management status reg. definition; from netbsd.
ok deraadt@ henning@ krw@.
Diffstat (limited to 'sys/dev/pci/pcireg.h')
-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