Skip to contentSkip to conversation

Flat device tree support for 85xx ADS and CDS boards

PATCH New Andy Fleming 1 participant 1 message Mar 22, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/7 Flat device tree support for 85xx ADS and CDS boards

* Added PCI-X #defines for PCI-X initialization
Patch by Andy Fleming on 17-Mar-2006

---

 include/pci.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

6576d78224e487f1125f4cf6451b17e1368516df

include/pci.h +9 -0
index 0fc00e4..e0e8783 100644
@@ -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 */
Signature · 1 line
1.2.4