]> git.itanic.dy.fi Git - linux-stable/commit
MIPS: ralink: Define PCI_IOBASE
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 14 Jun 2021 10:06:15 +0000 (12:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:24:29 +0000 (15:24 +0200)
commit222b27713d7f7e189cca30ccdcee8e1f953d2c9f
tree9253cf00046a44c977d711546ae23fb87d45378f
parente0878ad49938cf74260b95fbe6026631b8e754f8
MIPS: ralink: Define PCI_IOBASE

PCI_IOBASE is used to create VM maps for PCI I/O ports, it is
required by generic PCI drivers to make memory mapped I/O range
work. Hence define it for ralink architectures to be able to
avoid parsing manually IO ranges in PCI generic driver code.
Function 'plat_mem_setup' for ralink is using 'set_io_port_base'
call using '0xa0000000' as address, so use the same address in
the definition to align things.

Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210614100617.28753-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/mach-ralink/spaces.h [new file with mode: 0644]