aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/isa.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sparc64/isa.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-sparc64/isa.h')
-rw-r--r--include/asm-sparc64/isa.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/include/asm-sparc64/isa.h b/include/asm-sparc64/isa.h
new file mode 100644
index 000000000000..4601bbfc3e7b
--- /dev/null
+++ b/include/asm-sparc64/isa.h
@@ -0,0 +1,54 @@
1/* $Id: isa.h,v 1.1 2001/05/11 04:31:55 davem Exp $
2 * isa.h: Sparc64 layer for PCI to ISA bridge devices.
3 *
4 * Copyright (C) 2001 David S. Miller (davem@redhat.com)
5 */
6
7#ifndef __SPARC64_ISA_H
8#define __SPARC64_ISA_H
9
10#include <asm/pbm.h>
11#include <asm/oplib.h>
12
13struct sparc_isa_bridge;
14
15struct sparc_isa_device {
16 struct sparc_isa_device *next;
17 struct sparc_isa_device *child;
18 struct sparc_isa_bridge *bus;
19 int prom_node;
20 char prom_name[64];
21 char compatible[64];
22 struct resource resource;
23 unsigned int irq;
24};
25
26struct sparc_isa_bridge {
27 struct sparc_isa_bridge *next;
28 struct sparc_isa_device *devices;
29 struct pci_pbm_info *parent;
30 struct pci_dev *self;
31 int index;
32 int prom_node;
33 char prom_name[64];
34#define linux_prom_isa_ranges linux_prom_ebus_ranges
35 struct linux_prom_isa_ranges isa_ranges[PROMREG_MAX];
36 int num_isa_ranges;
37#define linux_prom_isa_intmap linux_prom_ebus_intmap
38 struct linux_prom_isa_intmap isa_intmap[PROMREG_MAX];
39 int num_isa_intmap;
40#define linux_prom_isa_intmask linux_prom_ebus_intmask
41 struct linux_prom_isa_intmap isa_intmask;
42};
43
44extern struct sparc_isa_bridge *isa_chain;
45
46extern void isa_init(void);
47
48#define for_each_isa(bus) \
49 for((bus) = isa_chain; (bus); (bus) = (bus)->next)
50
51#define for_each_isadev(dev, bus) \
52 for((dev) = (bus)->devices; (dev); (dev) = (dev)->next)
53
54#endif /* !(__SPARC64_ISA_H) */