]> git.baikalelectronics.ru Git - kernel.git/commit
sh: use the the PCI channels's io_map_base
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jan 2012 22:29:10 +0000 (00:29 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 Jan 2012 21:21:19 +0000 (23:21 +0200)
commit47753f6c5afddcc689f19d9ef435c54ce6d20204
tree471e9008bd8a4501c89cbd113b209f46f2d72285
parent45cf77b3b164f1208ed192875e657942b214317d
sh: use the the PCI channels's io_map_base

commit 852256831094bcac805851db411c42b175cf0f44
(sh: switch to GENERIC_PCI_IOMAP)
failed to take into account the PCI channels's
io_map_base for mapping IO BARs.
This also caused a new warning on sh.

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

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