Home
last modified time | relevance | path

Searched hist:"2 f7bbceb5b6aa938024bb4dad93c410fa59ed3b9" (Results 1 – 2 of 2) sorted by relevance

/linux/include/acpi/
H A Dacpi_drivers.hdiff 2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9 Wed Jun 10 21:55:20 CEST 2009 Alexander Chiang <achiang@hp.com> ACPI: Introduce acpi_get_pci_dev()

Convert an ACPI CA handle to a struct pci_dev.

Performing this lookup dynamically allows us to get rid of the
ACPI-PCI binding code, which:

- eliminates struct acpi_device vs struct pci_dev lifetime issues
- lays more groundwork for eliminating .start from acpi_device_ops
and thus simplifying ACPI drivers
- whacks out a lot of code

This change lays the groundwork for eliminating much of pci_bind.c.

Although pci_root.c may not be the most logical place for this
change, putting it here saves us from having to export acpi_pci_find_root.

Signed-off-by: Alex Chiang <achiang@hp.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
/linux/drivers/acpi/
H A Dpci_root.cdiff 2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9 Wed Jun 10 21:55:20 CEST 2009 Alexander Chiang <achiang@hp.com> ACPI: Introduce acpi_get_pci_dev()

Convert an ACPI CA handle to a struct pci_dev.

Performing this lookup dynamically allows us to get rid of the
ACPI-PCI binding code, which:

- eliminates struct acpi_device vs struct pci_dev lifetime issues
- lays more groundwork for eliminating .start from acpi_device_ops
and thus simplifying ACPI drivers
- whacks out a lot of code

This change lays the groundwork for eliminating much of pci_bind.c.

Although pci_root.c may not be the most logical place for this
change, putting it here saves us from having to export acpi_pci_find_root.

Signed-off-by: Alex Chiang <achiang@hp.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>