Messages in this thread | | | From | Arnd Bergmann <> | Date | Sat, 25 Sep 2021 19:33:06 +0200 | Subject | Re: [PATCH 6/6] staging: mt7621-pci: properly adjust base address for the IO window |
| |
On Fri, Sep 24, 2021 at 11:11 PM Sergio Paracuellos <sergio.paracuellos@gmail.com> wrote: > > The value to adjust in the bridge register RALINK_PCI_IOBASE must take into > account the raw value from DT, not only the translated linux port number. > As long as io_offset is zero, the two are the same, but if you were to use > multiple host bridge in the system, or pick a different bus address in DT, > you can have a nonzero io_offset. At this means to take into account the > bus address which is used to calculate this offset, substracting it from > the IO resource start address. > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |