Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Define some PCI power management CSR constants.
details: https://anonhg.NetBSD.org/src/rev/184e196db00d
branches: trunk
changeset: 486051:184e196db00d
user: jhawk <jhawk%NetBSD.org@localhost>
date: Fri May 12 03:35:34 2000 +0000
description:
Define some PCI power management CSR constants.
diffstat:
sys/dev/pci/pcireg.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 92e350b565fc -r 184e196db00d sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Fri May 12 03:14:21 2000 +0000
+++ b/sys/dev/pci/pcireg.h Fri May 12 03:35:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */
+/* $NetBSD: pcireg.h,v 1.27 2000/05/12 03:35:34 jhawk Exp $ */
/*
* Copyright (c) 1995, 1996, 1999
@@ -366,6 +366,16 @@
#define PCI_CAP_HOTSWAP 6
/*
+ * Power Management Control Status Register; access via capability pointer.
+ */
+
+#define PCI_PMCSR_STATE_MASK 0x03
+#define PCI_PMCSR_STATE_D0 0x00
+#define PCI_PMCSR_STATE_D1 0x01
+#define PCI_PMCSR_STATE_D2 0x02
+#define PCI_PMCSR_STATE_D3 0x03
+
+/*
* Interrupt Configuration Register; contains interrupt pin and line.
*/
#define PCI_INTERRUPT_REG 0x3c
Home |
Main Index |
Thread Index |
Old Index