Re: [Pcihpd-discuss] [PATCH] Convert acpiphp to use generic resource code

Rajesh Shah
2005-02-03T19:31:58Z

> This patch converts acpiphp to use the generic PCI resource assignment
> code. It's quite large, but most of it is deleting the acpiphp_pci and
> acpiphp_res files. It's tested on an hp Integrity rx8620 (which won't
> work without this patch). Testers with other hardware welcomed.
>
I needed the additional patch below to make it work on Tiger4
ia64 systems. I noticed that a similar patch was submitted before
(http://marc.theaimsgroup.com/?l=linux-ia64&m\x107962911317596&w=2)
but don't know why it was not picked up.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
---

linux-2.6.11-rc1-mm2-t2-rshah1/arch/ia64/pci/pci.c | 1 +
1 files changed, 1 insertion(+)

diff -puN arch/ia64/pci/pci.c~track_bridge_resources arch/ia64/pci/pci.c
--- linux-2.6.11-rc1-mm2-t2/arch/ia64/pci/pci.c~track_bridge_resources 2005-02-03 11:02:45.397329199 -0800
+++ linux-2.6.11-rc1-mm2-t2-rshah1/arch/ia64/pci/pci.c 2005-02-03 11:03:57.699086126 -0800
@@ -437,6 +437,7 @@ pcibios_fixup_bus (struct pci_bus *b)

list_for_each_entry(dev, &b->devices, bus_list)
pcibios_fixup_device_resources(dev);
+ pci_read_bridge_bases(b);

return;
}
_