[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>
Showing
- drivers/acpi/Makefile 1 addition, 1 deletiondrivers/acpi/Makefile
- drivers/acpi/glue.c 362 additions, 0 deletionsdrivers/acpi/glue.c
- drivers/acpi/ibm_acpi.c 2 additions, 2 deletionsdrivers/acpi/ibm_acpi.c
- include/acpi/acpi_bus.h 21 additions, 0 deletionsinclude/acpi/acpi_bus.h
- include/linux/device.h 4 additions, 2 deletionsinclude/linux/device.h
Loading
Please register or sign in to comment