svn commit: r203355 - head/sys/dev/pci
Pyun YongHyeon
yongari at FreeBSD.org
Mon Feb 1 20:50:50 UTC 2010
Author: yongari
Date: Mon Feb 1 20:50:49 2010
New Revision: 203355
URL: http://svn.freebsd.org/changeset/base/203355
Log:
Add more bit definitions to PCI express device control and device
status register.
Reviewed by: jhb
Modified:
head/sys/dev/pci/pcireg.h
Modified: head/sys/dev/pci/pcireg.h
==============================================================================
--- head/sys/dev/pci/pcireg.h Mon Feb 1 19:28:43 2010 (r203354)
+++ head/sys/dev/pci/pcireg.h Mon Feb 1 20:50:49 2010 (r203355)
@@ -605,9 +605,17 @@
#define PCIR_EXPRESS_DEVICE_CAP 0x4
#define PCIM_EXP_CAP_MAX_PAYLOAD 0x0007
#define PCIR_EXPRESS_DEVICE_CTL 0x8
+#define PCIM_EXP_CTL_RELAXED_ORD_ENABLE 0x0010
#define PCIM_EXP_CTL_MAX_PAYLOAD 0x00e0
+#define PCIM_EXP_CTL_NOSNOOP_ENABLE 0x0800
#define PCIM_EXP_CTL_MAX_READ_REQUEST 0x7000
#define PCIR_EXPRESS_DEVICE_STA 0xa
+#define PCIM_EXP_STA_CORRECTABLE_ERROR 0x0001
+#define PCIM_EXP_STA_NON_FATAL_ERROR 0x0002
+#define PCIM_EXP_STA_FATAL_ERROR 0x0004
+#define PCIM_EXP_STA_UNSUPPORTED_REQ 0x0008
+#define PCIM_EXP_STA_AUX_POWER 0x0010
+#define PCIM_EXP_STA_TRANSACTION_PND 0x0020
#define PCIR_EXPRESS_LINK_CAP 0xc
#define PCIM_LINK_CAP_MAX_SPEED 0x0000000f
#define PCIM_LINK_CAP_MAX_WIDTH 0x000003f0
More information about the svn-src-head
mailing list