> > Also I like to see away to pass in a base offset. I have a mips device > > which has a i8259 chip but its io is offseted by 0xb0000000. > > Then it's almost certainly an legacy ISA device with it's ports in ISA space, > so set mips_io_port_base to an apropriate value or does that not work for > you? The mips_io_port_base is 0xa0000000. Whereas the i8259 chip is at 0xb0000000. The 0xa000000 value could be wrong. I will give it a try.