commit | cf48fb6a2bf2e59990e1438d0dedc706df911996 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Mar 16 17:47:59 2012 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Mar 20 10:41:27 2012 -0700 |
tree | ece7583684a8a3e7a97d471db9a6984ababf100b | |
parent | 63ab387ca0d1576edef35ef68e4b8ea5e0757b7a [diff] |
PCI: fix bridge I/O window bus-to-resource conversion In 5bfa14ed9f3c, I forgot to initialize res2.flags before calling pcibios_bus_to_resource(), which depends on the resource type to locate the correct aperture. This bug won't hurt x86, which currently never has an offset between bus and CPU addresses, but will affect other architectures. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>