diff options
author | Alex Chiang <achiang@hp.com> | 2009-07-24 01:03:05 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-09 22:29:23 +0200 |
commit | 5228a828ee044834d78abdf25306bf46b19dcc4d (patch) | |
tree | b64bab920f7b2b8704ac6df4eaa389e3aa99064e /Documentation/ABI | |
parent | ACPI: export acpi_pci_root and friends (diff) | |
download | linux-5228a828ee044834d78abdf25306bf46b19dcc4d.tar.xz linux-5228a828ee044834d78abdf25306bf46b19dcc4d.zip |
PCI Hotplug: acpiphp: get pci_bus from acpi handle correctly
We cannot simply call acpi_get_pci_dev() on any random ACPI handle
and hope that it works, because a PCI root bridge may not have
an associated struct pci_dev.
This is allowed per the PCI specification, and is referred to as a
non-materialized bridge.
So, depending on the type of PCI bridge that the handle points to,
use the appropriate interface to return the struct pci_bus correctly.
Reviewed-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions