summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2006-06-28 10:44:49 -0500
committerJon Loeliger <jdl@freescale.com>2006-08-09 13:50:39 -0500
commitf0e6f57f71b3c4fdd13028eb03c3f3e91926dda2 (patch)
treeccb43540009b924b28bdd449a551119e718d6cd0 /include/pci.h
parenta4e11558b810ef2cddffdf7b9d86bc1130441960 (diff)
downloadu-boot-imx-f0e6f57f71b3c4fdd13028eb03c3f3e91926dda2.zip
u-boot-imx-f0e6f57f71b3c4fdd13028eb03c3f3e91926dda2.tar.gz
u-boot-imx-f0e6f57f71b3c4fdd13028eb03c3f3e91926dda2.tar.bz2
* Added PCI-X #defines for PCI-X initialization Patch by Andy Fleming on 17-Mar-2006
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index 0fc00e4..e0e8783 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -270,6 +270,15 @@
#define PCI_AGP_COMMAND_RATE1 0x0001 /* Use 4x rate */
#define PCI_AGP_SIZEOF 12
+/* PCI-X registers */
+
+#define PCI_X_CMD_DPERR_E 0x0001 /* Data Parity Error Recovery Enable */
+#define PCI_X_CMD_ERO 0x0002 /* Enable Relaxed Ordering */
+#define PCI_X_CMD_MAX_READ 0x0000 /* Max Memory Read Byte Count */
+#define PCI_X_CMD_MAX_SPLIT 0x0030 /* Max Outstanding Split Transactions */
+#define PCI_X_CMD_VERSION(x) (((x) >> 12) & 3) /* Version */
+
+
/* Slot Identification */
#define PCI_SID_ESR 2 /* Expansion Slot Register */