Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci - Add some PCIe config registers.
details: https://anonhg.NetBSD.org/src/rev/26ed2601b127
branches: trunk
changeset: 752051:26ed2601b127
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Feb 12 04:01:07 2010 +0000
description:
- Add some PCIe config registers.
- The register at 0x1c is not Control Status register. It contains Control
bits only. Rename it.
diffstat:
sys/dev/pci/pcireg.h | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r fd1121c13a30 -r 26ed2601b127 sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Fri Feb 12 03:38:48 2010 +0000
+++ b/sys/dev/pci/pcireg.h Fri Feb 12 04:01:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.63 2010/02/01 05:38:36 msaitoh Exp $ */
+/* $NetBSD: pcireg.h,v 1.64 2010/02/12 04:01:07 msaitoh Exp $ */
/*
* Copyright (c) 1995, 1996, 1999, 2000
@@ -584,7 +584,14 @@
#define PCI_PCIE_SLCSR_MS 0x00200000
#define PCI_PCIE_SLCSR_PDS 0x00400000
#define PCI_PCIE_SLCSR_LACS 0x01000000
-#define PCI_PCIE_RCSR 0x1c
+#define PCI_PCIE_RCR 0x1c
+#define PCI_PCIE_RSR 0x20
+#define PCI_PCIE_DCAP2 0x24
+#define PCI_PCIE_DCSR2 0x28
+#define PCI_PCIE_LCAP2 0x2c
+#define PCI_PCIE_LCSR2 0x30
+#define PCI_PCIE_SLCAP2 0x34
+#define PCI_PCIE_SLCSR2 0x38
/*
* Interrupt Configuration Register; contains interrupt pin and line.
Home |
Main Index |
Thread Index |
Old Index