]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/IA64: embed pci hostbridge resources into pci_root_info
authorYijing Wang <wangyijing@huawei.com>
Thu, 6 Jun 2013 07:34:48 +0000 (15:34 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 18 Jun 2013 16:44:10 +0000 (09:44 -0700)
commit5cd7595dea8d54d93124cfc4faec103ce56ab03d
tree2c0fb4985707e51283f4fac48c7079dbed0be6df
parent2ead66b5472542d82f31c3b6418b23ace3dac87d
PCI/IA64: embed pci hostbridge resources into pci_root_info

Currently, pcibios_resource_to_bus() and pcibios_bus_to_resource()
functions use pci_host_bridge to translate bus side address from/to
cpu side address. The pci_window in pci_controller never be used again.
So we remove pci_window in pci_controller and embed hostbridge resource
into pci_root_info. Bjorn suggested to implement hostbridge resources
release in IA64 like in X86, this patch is to prepare for that.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/pci.h
arch/ia64/pci/pci.c