9 #include <linux/module.h>
11 #include <asm/openprom.h>
12 #include <asm/oplib.h>
13 #include <asm/types.h>
16 static int num_obio_ranges;
25 for (regc = 0; regc < nregs; regc++) {
26 for (rngc = 0; rngc < nranges; rngc++)
30 prom_printf(
"adjust_regs: Could not find range with matching bus type...\n");
43 for(rng1c=0; rng1c < nranges1; rng1c++) {
44 for(rng2c=0; rng2c < nranges2; rng2c++)
50 prom_printf(
"adjust_ranges: Could not find matching bus type...\n");
81 (
char *) promlib_obio_ranges,
82 sizeof(promlib_obio_ranges));
88 prom_printf(
"PROMLIB: obio_ranges %d\n", num_obio_ranges);
105 int num_parent_ranges;
108 (
char *) parent_ranges,
109 sizeof (parent_ranges));