]> git.baikalelectronics.ru Git - kernel.git/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)
commit242a23717aa607e7d59ee0e3c01783364c64f294
tree195f69e8e25dec0f7344aab2bbdb353b9639df79
parentad02853c74ec84caed626e6f9d208f28b0910c5d
[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