]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ACPI: pci_root: pass acpi_pci_root to arch-specific scan
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 11 Mar 2010 19:20:11 +0000 (12:20 -0700)
committerLen Brown <len.brown@intel.com>
Sun, 4 Apr 2010 04:29:53 +0000 (00:29 -0400)
commit57283776b2b821ba4d592f61cad04d0293412740
treeba4f2df20e9433767d2dd818c8e540c7a6741961
parent6ad95513d60096b569e4e4bd721420f03b57e4d4
ACPI: pci_root: pass acpi_pci_root to arch-specific scan

The acpi_pci_root structure contains all the individual items (acpi_device,
domain, bus number) we pass to pci_acpi_scan_root(), so just pass the
single acpi_pci_root pointer directly.

This will make it easier to add _CBA support later.  For _CBA, we need the
entire downstream bus range, not just the base bus number.  We have that in
the acpi_pci_root structure, so passing the pointer makes it available to
the arch-specific code.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/pci/pci.c
arch/x86/pci/acpi.c
drivers/acpi/pci_root.c
include/acpi/acpi_drivers.h