public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPI/PCI Hotplug: acpiphp cleanup
@ 2009-07-10 19:42 Alex Chiang
  2009-07-10 19:42 ` [PATCH 1/3] ACPI: export acpi_pci_root and friends Alex Chiang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alex Chiang @ 2009-07-10 19:42 UTC (permalink / raw)
  To: jbarnes, lenb; +Cc: linux-pci, linux-kernel, linux-acpi

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(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-14 20:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-10 19:42 [PATCH 0/3] ACPI/PCI Hotplug: acpiphp cleanup Alex Chiang
2009-07-10 19:42 ` [PATCH 1/3] ACPI: export acpi_pci_root and friends Alex Chiang
2009-07-10 19:42 ` [PATCH 2/3] PCI Hotplug: acpiphp: find bridges the easy way Alex Chiang
2009-07-10 19:42 ` [PATCH 3/3] PCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle Alex Chiang
2009-07-14 19:27 ` [PATCH 0/3] ACPI/PCI Hotplug: acpiphp cleanup Jesse Barnes
2009-07-14 20:04   ` Alex Chiang
2009-07-14 20:32     ` Jesse Barnes
2009-07-14 20:33     ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox