diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 21:59:44 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 21:59:44 -0700 |
commit | 8c2786cfa6d15c474ec7030e8161c88e9b5c597d (patch) | |
tree | 403d0c6a52361717a54d3dbaa15d6db87f3627e5 /arch/sparc64/defconfig | |
parent | ea1ff19ce0146a3982a6ded4274122e6d0a91bed (diff) |
[SPARC64]: Handle PCI bridges without 'ranges' property.
This fixes the IDE controller not showing up on Netra-T1
systems.
Just like Simba bridges, some PCI bridges can lack the
'ranges' OBP property. So we handle this similarly to
the existing Simba code:
1) In of_device register address resolving, we push the
translation to the parent.
2) In PCI device scanning, we interrogate the PCI config
space registers of the PCI bus device in order to resolve
the resources, just like the generic Linux PCI probing
code does.
With much help and testing from Fabio, who also reported
the initial problem.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Fabio Massimo Di Nitto <fabbione@ubuntu.com>
Diffstat (limited to 'arch/sparc64/defconfig')
0 files changed, 0 insertions, 0 deletions