summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/pcie.h
diff options
context:
space:
mode:
authorAlan Adamson, SD OSSD <Alan.Adamson@Sun.COM>2008-09-15 10:45:20 -0700
committerAlan Adamson, SD OSSD <Alan.Adamson@Sun.COM>2008-09-15 10:45:20 -0700
commit0114761d17f41c0b83189e4bf95e6b789e7ba99e (patch)
tree4fd16ad5d3b3f4cc747faf57ee734e898fef7f04 /usr/src/uts/common/sys/pcie.h
parent02c8f3f039188ad827739e040dd0e6f6de8fd943 (diff)
downloadillumos-joyent-0114761d17f41c0b83189e4bf95e6b789e7ba99e.tar.gz
6449810 PCI Express framework performance enhancement
Diffstat (limited to 'usr/src/uts/common/sys/pcie.h')
-rw-r--r--usr/src/uts/common/sys/pcie.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/pcie.h b/usr/src/uts/common/sys/pcie.h
index d840e1358b..7a3ee85d68 100644
--- a/usr/src/uts/common/sys/pcie.h
+++ b/usr/src/uts/common/sys/pcie.h
@@ -26,8 +26,6 @@
#ifndef _SYS_PCIE_H
#define _SYS_PCIE_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -150,6 +148,7 @@ extern "C" {
#define PCIE_DEVCTL_MAX_PAYLOAD_2048 0x80
#define PCIE_DEVCTL_MAX_PAYLOAD_4096 0xA0
#define PCIE_DEVCTL_MAX_PAYLOAD_MASK 0xE0 /* Max_Payload_Size */
+#define PCIE_DEVCTL_MAX_PAYLOAD_SHIFT 0x5
#define PCIE_DEVCTL_EXT_TAG_FIELD_EN 0x100 /* Extended Tag Field Enable */
#define PCIE_DEVCTL_PHTM_FUNC_EN 0x200 /* Phantom Functions Enable */
@@ -163,6 +162,7 @@ extern "C" {
#define PCIE_DEVCTL_MAX_READ_REQ_2048 0x4000
#define PCIE_DEVCTL_MAX_READ_REQ_4096 0x5000
#define PCIE_DEVCTL_MAX_READ_REQ_MASK 0x7000 /* Max_Read_Request_Size */
+#define PCIE_DEVCTL_MAX_READ_REQ_SHIFT 0xC
/*
* Device Status Register (2 bytes)