15 #include <linux/kernel.h>
19 #include <generated/utsrelease.h>
21 #include <asm/machdep.h>
22 #include <asm/cputable.h>
23 #include <asm/pci-bridge.h>
24 #include <asm/i8259.h>
37 const u32 *cfg_addr, *cfg_data;
46 if ((cfg_addr ==
NULL) || (cfg_data ==
NULL))
50 if ((bus_range ==
NULL) || (len < 2 *
sizeof(
int)))
59 hose->
last_busno = bus_range ? bus_range[1] : 0xff;
76 for_each_compatible_node(np,
"pci",
"mai-logic,articia-s")
77 phb = amigaone_add_bridge(np);
82 ppc_md.progress(
"Linux/PPC "UTS_RELEASE
"\n", 0);
88 const unsigned long *prop =
NULL;
89 unsigned long int_ack = 0;
107 " address, polling\n");
114 static int __init request_isa_regions(
void)
133 mtspr(SPRN_SRR0, 0xfff00100);
134 mtspr(SPRN_SRR1, MSR_IP);
137 __asm__ __volatile__(
"rfi" : : :
"memory");
143 static int __init amigaone_probe(
void)
145 unsigned long root = of_get_flat_dt_root();
147 if (of_flat_dt_is_compatible(root,
"eyetech,amigaone")) {
166 .probe = amigaone_probe,