]> git.itanic.dy.fi Git - linux-stable/commit
MIPS: ralink: set PCI_IOBASE to 'mips_io_port_base'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 25 Sep 2021 20:32:21 +0000 (22:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:36:25 +0000 (12:36 +0200)
commitebe7e788ee7270cfe43584e99f11b00d1e4bbb3f
treea6dfec8a9ba3f3dbc0d3eb8dc30763be5c66130b
parentdf86c6e27a80dec09ba854eaa5ccfffc6dc9d289
MIPS: ralink: set PCI_IOBASE to 'mips_io_port_base'

By default MIPS architecture use function 'set_io_port_base()' to set the
virtual address of the first IO port. This function at the end sets variable
'mips_io_port_base' with the desired address. To align things and allow
to change first IO port location address for PCI, set PCI_IOBASE definition
as 'mips_io_port_base'.

Fixes: 222b27713d7f ("MIPS: ralink: Define PCI_IOBASE")
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210925203224.10419-4-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/mach-ralink/spaces.h