summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64')
-rw-r--r--include/asm-mips64/io.h2
-rw-r--r--include/asm-mips64/pci/bridge.h7
-rw-r--r--include/asm-mips64/sn/sn0/ip27.h7
3 files changed, 14 insertions, 2 deletions
diff --git a/include/asm-mips64/io.h b/include/asm-mips64/io.h
index f72b11bcb..a1ca4492b 100644
--- a/include/asm-mips64/io.h
+++ b/include/asm-mips64/io.h
@@ -111,7 +111,7 @@ extern inline void * phys_to_virt(unsigned long address)
return (void *)(address + PAGE_OFFSET);
}
-#define BRIDGE_DIRECT_MAPPED_BASE 0xa200000000000000ull
+#define BRIDGE_DIRECT_MAPPED_BASE 0xa180000000000000ull
/*
* IO bus memory addresses are also 1:1 with the physical address
diff --git a/include/asm-mips64/pci/bridge.h b/include/asm-mips64/pci/bridge.h
index 42a805487..1fc14c5a5 100644
--- a/include/asm-mips64/pci/bridge.h
+++ b/include/asm-mips64/pci/bridge.h
@@ -828,4 +828,11 @@ typedef union ate_u {
#define BRIDGE_INTERNAL_ATES 128
+/* ========================================================================
+ * Linux pci bus mappings to sn physical id's
+ */
+unsigned char bus_to_wid[256]; /* widget id for linux pci bus */
+unsigned char bus_to_nid[256]; /* nasid for linux pci bus */
+unsigned char num_bridges; /* number of bridges in the system */
+
#endif /* _ASM_PCI_BRIDGE_H */
diff --git a/include/asm-mips64/sn/sn0/ip27.h b/include/asm-mips64/sn/sn0/ip27.h
index 36613c5c1..206c043fa 100644
--- a/include/asm-mips64/sn/sn0/ip27.h
+++ b/include/asm-mips64/sn/sn0/ip27.h
@@ -93,6 +93,11 @@
#define CPU_CALL_A_IRQ 6
#define CPU_CALL_B_IRQ 7
#define IOC3_SERIAL_INT 8
-#define IOC3_ETH_INT 9
+/*#define IOC3_ETH_INT 9*/
+#define IOC3_ETH_INT 0x0809 /* nasid 0, wid 0x8 */
+#define SN00_BRIDGE 0x9200000008000000
+#define SN00I_BRIDGE0 0x920000000b000000
+#define SN00I_BRIDGE1 0x920000000e000000
+#define SN00I_BRIDGE2 0x920000000f000000
#endif /* _ASM_SN_SN0_IP27_H */