summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/pci/bridge.h
diff options
context:
space:
mode:
authorLeo Dagum <dagum@engr.sgi.com>2000-05-11 19:15:49 +0000
committerLeo Dagum <dagum@engr.sgi.com>2000-05-11 19:15:49 +0000
commitcbfdca13f959e36f8d5b5703d88bbe30f3fd23c0 (patch)
tree6070683ebd3effa0714aea1c98ab5c205e0d1bce /include/asm-mips64/pci/bridge.h
parentb12f9adf74925546b6e9c64de4d2b7412e9d2e83 (diff)
Some infrastructure for supporting multiple pci busses on origin200/2000.
nasid and widget id get incoded in pci_dev->irq. pcibr_setup() now does some rudimentary probing for bridge widgets hanging off its xbow. We're not seeing interrupts from remote devices at the cpu, so mscsi card's are turned off for now.
Diffstat (limited to 'include/asm-mips64/pci/bridge.h')
-rw-r--r--include/asm-mips64/pci/bridge.h7
1 files changed, 7 insertions, 0 deletions
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 */