summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/pbm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/pbm.h')
-rw-r--r--include/asm-sparc64/pbm.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h
index adb1e10bf..4f0f51f30 100644
--- a/include/asm-sparc64/pbm.h
+++ b/include/asm-sparc64/pbm.h
@@ -1,4 +1,4 @@
-/* $Id: pbm.h,v 1.14 1998/05/29 06:00:40 ecd Exp $
+/* $Id: pbm.h,v 1.16 1999/03/14 18:13:03 davem Exp $
* pbm.h: U2P PCI bus module pseudo driver software state.
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
@@ -30,15 +30,21 @@ struct pci_vma {
struct linux_psycho;
+/* There can be quite a few ranges and interrupt maps on a PCI
+ * segment. Thus...
+ */
+#define PROM_PCIRNG_MAX 64
+#define PROM_PCIIMAP_MAX 64
+
struct linux_pbm_info {
struct linux_psycho *parent;
struct pci_vma *IO_assignments;
struct pci_vma *MEM_assignments;
int prom_node;
char prom_name[64];
- struct linux_prom_pci_ranges pbm_ranges[PROMREG_MAX];
+ struct linux_prom_pci_ranges pbm_ranges[PROM_PCIRNG_MAX];
int num_pbm_ranges;
- struct linux_prom_pci_intmap pbm_intmap[PROMREG_MAX];
+ struct linux_prom_pci_intmap pbm_intmap[PROM_PCIIMAP_MAX];
int num_pbm_intmap;
struct linux_prom_pci_intmask pbm_intmask;
@@ -63,6 +69,8 @@ struct linux_psycho {
unsigned int pci_first_busno;
unsigned int pci_last_busno;
struct pci_bus *pci_bus;
+
+ void *starfire_cookie;
};
/* PCI devices which are not bridges have this placed in their pci_dev