Re: [PATCH] MIPS: pci-legacy: Override pci_address_to_pio

From: Jiaxun Yang
Date: Tue Jan 14 2025 - 13:51:43 EST




在2025年1月14日一月 下午6:42,Mateusz Jończyk写道:
[...]
>
> Hello,
>
> Thank you for this patch, I'm testing it right now.
>
> Shouldn't this be #ifndef-ed CONFIG_MACH_LOONGSON64 and perhaps
> CONFIG_RALINK?

Hi Mateusz,

Those platforms are not using PCI_DRIVERS_LEGACY, so won't be affected
by this patch.

PCI_DRIVERS_GENERIC systems are handling logic_pio properly, so no need
for this workaround.

Thanks
>
> Loongson64 explicitly calls logic_pio_register_range(), so seems not to
> need this. Ralink also
> defined PCI_IOBASE a long time ago.
>
> Greetings,
>
> Mateusz

--
- Jiaxun