|
@@ -305,3 +305,49 @@ union TPAchipAGPERR {
|
|
|
#define TITAN_IACK_SC _TITAN_IACK_SC(0) /* hack! */
|
|
|
|
|
|
/*
|
|
|
+ * The canonical non-remaped I/O and MEM addresses have these values
|
|
|
+ * subtracted out. This is arranged so that folks manipulating ISA
|
|
|
+ * devices can use their familiar numbers and have them map to bus 0.
|
|
|
+ */
|
|
|
+
|
|
|
+#define TITAN_IO_BIAS TITAN_IO(0)
|
|
|
+#define TITAN_MEM_BIAS TITAN_MEM(0)
|
|
|
+
|
|
|
+/* The IO address space is larger than 0xffff */
|
|
|
+#define TITAN_IO_SPACE (TITAN_CONF(0) - TITAN_IO(0))
|
|
|
+
|
|
|
+/* TIG Space */
|
|
|
+#define TITAN_TIG_SPACE (TITAN_BASE + 0x100000000UL)
|
|
|
+
|
|
|
+/* Offset between ram physical addresses and pci64 DAC bus addresses. */
|
|
|
+/* ??? Just a guess. Ought to confirm it hasn't been moved. */
|
|
|
+#define TITAN_DAC_OFFSET (1UL << 40)
|
|
|
+
|
|
|
+/*
|
|
|
+ * Data structure for handling TITAN machine checks:
|
|
|
+ */
|
|
|
+#define SCB_Q_SYSERR 0x620
|
|
|
+#define SCB_Q_PROCERR 0x630
|
|
|
+#define SCB_Q_SYSMCHK 0x660
|
|
|
+#define SCB_Q_PROCMCHK 0x670
|
|
|
+#define SCB_Q_SYSEVENT 0x680 /* environmental / system management */
|
|
|
+struct el_TITAN_sysdata_mcheck {
|
|
|
+ u64 summary; /* 0x00 */
|
|
|
+ u64 c_dirx; /* 0x08 */
|
|
|
+ u64 c_misc; /* 0x10 */
|
|
|
+ u64 p0_serror; /* 0x18 */
|
|
|
+ u64 p0_gperror; /* 0x20 */
|
|
|
+ u64 p0_aperror; /* 0x28 */
|
|
|
+ u64 p0_agperror;/* 0x30 */
|
|
|
+ u64 p1_serror; /* 0x38 */
|
|
|
+ u64 p1_gperror; /* 0x40 */
|
|
|
+ u64 p1_aperror; /* 0x48 */
|
|
|
+ u64 p1_agperror;/* 0x50 */
|
|
|
+};
|
|
|
+
|
|
|
+/*
|
|
|
+ * System area for a privateer 680 environmental/system management mcheck
|
|
|
+ */
|
|
|
+struct el_PRIVATEER_envdata_mcheck {
|
|
|
+ u64 summary; /* 0x00 */
|
|
|
+ u64 c_dirx; /* 0x08 */
|