summaryrefslogtreecommitdiff
path: root/scripts/split-include.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2004-03-15 15:07:38 -0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2004-03-15 15:07:38 -0800
commit99dd57a52b9bd1263afc182c8e14c61c194ae92b (patch)
treeec3d0f2db362cd3c64f97e61ac2cbb609a3b5514 /scripts/split-include.c
parentd3fdc9acc701b67fabe641fb868882574b9827c6 (diff)
[PATCH] g5: Fix iommu vs. pci_device_to_OF_node
The g5 iommu code would fill the "iommu_table" member of whatever device node was pointed to by pcidev->sysdata during boot. However, the ppc64 kernel fills that with a pointer to the PHB node which is later replaced "lazily" with a pointer to the real node when calling pci_device_to_OF_node(). In this case, we were thus "losign" the iommu_table pointer. Typical symptom: loss of the SATA when looking at it's /proc entry. This fixes it by forcing the update to the final sysdata pointer when filling up the iommu_table pointers. The "lazy" thing is useless on pmac anyway.
Diffstat (limited to 'scripts/split-include.c')
0 files changed, 0 insertions, 0 deletions