diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-20 22:00:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-20 22:00:40 -0700 |
commit | 7ee766d8fba9dfd93bf3eca7a8d84a25404a68dc (patch) | |
tree | 34b017e2eb3e560c15a41089b894a4125bca7d89 /block/blk-core.c | |
parent | 9843099ff46467461d6476a827f6f9701682dbac (diff) |
sparc64: Fix disappearing PCI devices on e3500.
Based upon a bug report by Meelis Roos.
The OF device layer builds properties by matching bus types and
applying 'range' properties as appropriate, up to the root.
The match for "PCI" busses is looking at the 'device_type' property,
and this does work %99 of the time.
But on an E3500 system with a PCI QFE card, the DEC 21153 bridge
sitting above the QFE network interface devices has a 'name' of "pci",
but it completely lacks a 'device_type' property. So we don't match
it as a PCI bus, and subsequently we end up with no resource values at
all for the devices sitting under that DEC bridge.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions