]> git.baikalelectronics.ru Git - kernel.git/commit
mips: use the the PCI controller's io_map_base
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jan 2012 22:23:38 +0000 (00:23 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 Jan 2012 21:20:30 +0000 (23:20 +0200)
commit94ec0b815eb805e398be18c9dde8c792ff50898c
tree2c1968a5e270a37303e7ceed3ef6516150b50bf1
parent60a8c3337191d35ce7d0177804fb9ad05df0cc30
mips: use the the PCI controller's io_map_base

commit 24d8b8da7312a53578e5f6445f046f9e6bf828a3
(mips: switch to GENERIC_PCI_IOMAP)
failed to take into account the PCI controller's
io_map_base for mapping IO BARs.
This also caused a new warning on mips.

Fix this, without re-introducing code duplication,
by setting NO_GENERIC_PCI_IOPORT_MAP
and supplying a mips-specific __pci_ioport_map.

Reported-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/mips/Kconfig
arch/mips/lib/iomap-pci.c