[PATCH 0/3] ACPI/PCI Hotplug: acpiphp cleanup

From: Alex Chiang
Date: Fri Jul 10 2009 - 15:42:47 EST


Hi Len, Jesse,

I'd like to have this patch series considered for the current release
because it clarifies some usage of the new interface acpi_get_pci_dev()
that was also introduced in this release cycle.

The short story is, acpi_get_pci_dev() doesn't always return a struct
pci_dev, because a PCI root bridge may not have an associated pci_dev on
platforms with non-materialized root bridges.

See this patch for more:

http://patchwork.kernel.org/patch/32613/

I had to export acpi_pci_root to accomplish my goal, but it did result
in a nice net cleanup in acpiphp.

It should probably go through Jesse's tree, but needs Len's ACK for
the acpi_pci_root bit.

Thanks.

/ac

---

Alex Chiang (3):
ACPI: export acpi_pci_root and friends
PCI Hotplug: acpiphp: find bridges the easy way
PCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle


drivers/acpi/pci_root.c | 17 +------
drivers/pci/hotplug/acpi_pcihp.c | 9 +---
drivers/pci/hotplug/acpiphp_glue.c | 92 +++++++++---------------------------
drivers/pci/hotplug/pciehp_acpi.c | 5 +-
include/acpi/acpi_bus.h | 14 +++++
include/linux/pci_hotplug.h | 2 -
6 files changed, 47 insertions(+), 92 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/