>
> I will add this may not cover your need, as you probably cannot deal
> with any logical PIO <-> ISA translation without modifying the device
> driver. For this, we may need to reserve the first 0x4000 in logical PIO
> space for this sort of legacy host.
Hi,
After thinking twice, I realized that the most convenient way for me is
adding an option to get rid of the mess of logic PIO. MIPS system is emulating
x86's behavior, while logic PIO isn't designed for such platform.
Or probably I need a variation of Logic PIO, which leave MMIO space AS-IS
(not try to reallocate it)
but still preserving higher 0x4000 for indirect access.
Thanks a lot!
>
> That would not be a bad thing - see
>https://lore.kernel.org/linux-pci/1560262374-67875-1-git-send-email-john.garry@xxxxxxxxxx/
>
>
> >
> > This driver deals with legacy IO ports where we need to bitbang