Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Finish devices the bits in PCIE capability LCSR ...
details: https://anonhg.NetBSD.org/src/rev/cf88a6c32bab
branches: trunk
changeset: 781370:cf88a6c32bab
user: matt <matt%NetBSD.org@localhost>
date: Sun Sep 02 06:29:56 2012 +0000
description:
Finish devices the bits in PCIE capability LCSR field.
diffstat:
sys/dev/pci/pcireg.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 526ccc02205f -r cf88a6c32bab sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Sun Sep 02 05:02:36 2012 +0000
+++ b/sys/dev/pci/pcireg.h Sun Sep 02 06:29:56 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.73 2011/08/17 00:59:47 dyoung Exp $ */
+/* $NetBSD: pcireg.h,v 1.74 2012/09/02 06:29:56 matt Exp $ */
/*
* Copyright (c) 1995, 1996, 1999, 2000
@@ -656,6 +656,17 @@
#define PCI_PCIE_LCSR 0x10 /* Link Control & Status Register */
#define PCI_PCIE_LCSR_ASPM_L0S __BIT(0)
#define PCI_PCIE_LCSR_ASPM_L1 __BIT(1)
+#define PCI_PCIE_LCSR_RCB __BIT(3)
+#define PCI_PCIE_LCSR_LINK_DIS __BIT(4)
+#define PCI_PCIE_LCSR_RETRAIN __BIT(5)
+#define PCI_PCIE_LCSR_COMCLKCFG __BIT(6)
+#define PCI_PCIE_LCSR_EXTNDSYNC __BIT(7)
+#define PCI_PCIE_LCSR_ENCLKPM __BIT(8)
+#define PCI_PCIE_LCSR_LINKSPEED __BITS(19,16)
+#define PCI_PCIE_LCSR_NLW __BITS(25,20)
+#define PCI_PCIE_LCSR_LINKTRAIN __BIT(27)
+#define PCI_PCIE_LCSR_SLOTCLKCFG __BIT(28)
+#define PCI_PCIE_LCSR_DLACTIVE __BIT(29)
#define PCI_PCIE_SLCAP 0x14 /* Slot Capabilities Register */
#define PCI_PCIE_SLCAP_ABP __BIT(0) /* Attention Button Present */
#define PCI_PCIE_SLCAP_PCP __BIT(1) /* Power Controller Present */
Home |
Main Index |
Thread Index |
Old Index