]> err.no Git - linux-2.6/commit
[ACPI] Bind PCI devices with ACPI devices
authorDavid Shaohua Li <shaohua.li@intel.com>
Fri, 18 Mar 2005 23:45:35 +0000 (18:45 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 12 Jul 2005 03:28:24 +0000 (23:28 -0400)
commit4e10d12a3d88c88fba3258809aa42d14fd8cf1d1
tree195f69e8e25dec0f7344aab2bbdb353b9639df79
parentfb9802fa59b196d7f90bb3c2e33c555c6bdc4c54
[ACPI] Bind PCI devices with ACPI devices

Implement the framework for binding physical devices
with ACPI devices. A physical bus like PCI bus
should create a 'acpi_bus_type', with:

.find_device:
        For device which has parent such as normal PCI devices.

.find_bridge:
        It's for special devices, such as PCI root bridge
or IDE controller.  Such devices generally haven't a
parent or ->bus. We use the special method
to get an ACPI handle.

Uses new field in struct device: firmware_data

http://bugzilla.kernel.org/show_bug.cgi?id=4277

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Makefile
drivers/acpi/glue.c [new file with mode: 0644]
drivers/acpi/ibm_acpi.c
include/acpi/acpi_bus.h
include/linux/device.h