commit | f92d4e29d785f1d4217dee7f1ae6ff7140547ed5 | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Tue Feb 17 14:15:16 2009 +0900 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Mar 20 10:48:04 2009 -0700 |
tree | 55e272ffb250af61e3de804565d538b0cb92b0eb | |
parent | 151ab36a2ea0b3181d103f7244636e0d16e685de [diff] |
PCI: fix wrong assumption in pci_read_bridge_bases Current pci_read_bridge_bases() has an assumption that pci_bus->self is NULL on the pci root bus (It checks pci_bus->self to see if the pci bus is root bus). But is might not true on some platforms. We must check pci_bus->parent instead. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>