Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2012 23:10:55 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241758 - head/sys/dev/pci
Message-ID:  <201210192310.q9JNAt7n096894@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Oct 19 23:10:55 2012
New Revision: 241758
URL: http://svn.freebsd.org/changeset/base/241758

Log:
  Add missing Extended Capability ID Numbers from PCIe 3.0.

Modified:
  head/sys/dev/pci/pcireg.h

Modified: head/sys/dev/pci/pcireg.h
==============================================================================
--- head/sys/dev/pci/pcireg.h	Fri Oct 19 22:48:22 2012	(r241757)
+++ head/sys/dev/pci/pcireg.h	Fri Oct 19 23:10:55 2012	(r241758)
@@ -132,25 +132,35 @@
 /* Extended Capability Identification Numbers */
 
 #define	PCIZ_AER	0x0001	/* Advanced Error Reporting */
-#define	PCIZ_VC		0x0002	/* Virtual Channel */
+#define	PCIZ_VC		0x0002	/* Virtual Channel if MFVC Ext Cap not set */
 #define	PCIZ_SERNUM	0x0003	/* Device Serial Number */
 #define	PCIZ_PWRBDGT	0x0004	/* Power Budgeting */
 #define	PCIZ_RCLINK_DCL	0x0005	/* Root Complex Link Declaration */
 #define	PCIZ_RCLINK_CTL	0x0006	/* Root Complex Internal Link Control */
 #define	PCIZ_RCEC_ASSOC	0x0007	/* Root Complex Event Collector Association */
 #define	PCIZ_MFVC	0x0008	/* Multi-Function Virtual Channel */
+#define	PCIZ_VC2	0x0009	/* Virtual Channel if MFVC Ext Cap set */
 #define	PCIZ_RCRB	0x000a	/* RCRB Header */
 #define	PCIZ_VENDOR	0x000b	/* Vendor Unique */
+#define	PCIZ_CAC	0x000c	/* Configuration Access Correction -- obsolete */
 #define	PCIZ_ACS	0x000d	/* Access Control Services */
 #define	PCIZ_ARI	0x000e	/* Alternative Routing-ID Interpretation */
 #define	PCIZ_ATS	0x000f	/* Address Translation Services */
 #define	PCIZ_SRIOV	0x0010	/* Single Root IO Virtualization */
+#define	PCIZ_MRIOV	0x0011	/* Multiple Root IO Virtualization */
 #define	PCIZ_MULTICAST	0x0012	/* Multicast */
+#define	PCIZ_PAGE_REQ	0x0013	/* Page Request */
+#define	PCIZ_AMD	0x0014	/* Reserved for AMD */
 #define	PCIZ_RESIZE_BAR	0x0015	/* Resizable BAR */
 #define	PCIZ_DPA	0x0016	/* Dynamic Power Allocation */
 #define	PCIZ_TPH_REQ	0x0017	/* TPH Requester */
 #define	PCIZ_LTR	0x0018	/* Latency Tolerance Reporting */
 #define	PCIZ_SEC_PCIE	0x0019	/* Secondary PCI Express */
+#define	PCIZ_PMUX	0x001a	/* Protocol Multiplexing */
+#define	PCIZ_PASID	0x001b	/* Process Address Space ID */
+#define	PCIZ_LN_REQ	0x001c	/* LN Requester */
+#define	PCIZ_DPC	0x001d	/* Downstream Porto Containment */
+#define	PCIZ_L1PM	0x001e	/* L1 PM Substates */
 
 /* config registers for header type 0 devices */
 
@@ -183,7 +193,7 @@
 #define	PCIM_CIS_ASI_ROM	7
 #define	PCIM_CIS_ADDR_MASK	0x0ffffff8
 #define	PCIM_CIS_ROM_MASK	0xf0000000
-#define PCIM_CIS_CONFIG_MASK	0xff
+#define	PCIM_CIS_CONFIG_MASK	0xff
 #define	PCIR_SUBVEND_0	0x2c
 #define	PCIR_SUBDEV_0	0x2e
 #define	PCIR_BIOS	0x30



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210192310.q9JNAt7n096894>