1 /* $Id: isa.h,v 1.1.1.1 2005/04/11 02:50:57 jack Exp $
2 * isa.h: Sparc64 layer for PCI to ISA bridge devices.
4 * Copyright (C) 2001 David S. Miller (davem@redhat.com)
7 #ifndef __SPARC64_ISA_H
8 #define __SPARC64_ISA_H
11 #include <asm/oplib.h>
14 struct isa_device *next;
15 struct isa_device *child;
16 struct isa_bridge *bus;
20 struct resource resource;
25 struct isa_bridge *next;
26 struct isa_device *devices;
27 struct pci_pbm_info *parent;
32 #define linux_prom_isa_ranges linux_prom_ebus_ranges
33 struct linux_prom_isa_ranges isa_ranges[PROMREG_MAX];
37 extern struct isa_bridge *isa_chain;
39 extern void isa_init(void);
41 #define for_each_isa(bus) \
42 for((bus) = isa_chain; (bus); (bus) = (bus)->next)
44 #define for_each_isadev(dev, bus) \
45 for((dev) = (bus)->devices; (dev); (dev) = (dev)->next)
47 #endif /* !(__SPARC64_ISA_H) */