mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 15:11:50 +00:00
4e10d12a3d
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>
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
#
|
|
# Makefile for the Linux ACPI interpreter
|
|
#
|
|
|
|
export ACPI_CFLAGS
|
|
|
|
ACPI_CFLAGS := -Os
|
|
|
|
ifdef CONFIG_ACPI_DEBUG
|
|
ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT
|
|
endif
|
|
|
|
EXTRA_CFLAGS += $(ACPI_CFLAGS)
|
|
|
|
#
|
|
# ACPI Boot-Time Table Parsing
|
|
#
|
|
obj-$(CONFIG_ACPI_BOOT) += tables.o
|
|
obj-$(CONFIG_ACPI_INTERPRETER) += blacklist.o
|
|
|
|
#
|
|
# ACPI Core Subsystem (Interpreter)
|
|
#
|
|
obj-$(CONFIG_ACPI_INTERPRETER) += osl.o utils.o \
|
|
dispatcher/ events/ executer/ hardware/ \
|
|
namespace/ parser/ resources/ tables/ \
|
|
utilities/
|
|
|
|
#
|
|
# ACPI Bus and Device Drivers
|
|
#
|
|
processor-objs += processor_core.o processor_throttling.o \
|
|
processor_idle.o processor_thermal.o
|
|
ifdef CONFIG_CPU_FREQ
|
|
processor-objs += processor_perflib.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ACPI_BUS) += sleep/
|
|
obj-$(CONFIG_ACPI_BUS) += bus.o glue.o
|
|
obj-$(CONFIG_ACPI_AC) += ac.o
|
|
obj-$(CONFIG_ACPI_BATTERY) += battery.o
|
|
obj-$(CONFIG_ACPI_BUTTON) += button.o
|
|
obj-$(CONFIG_ACPI_EC) += ec.o
|
|
obj-$(CONFIG_ACPI_FAN) += fan.o
|
|
obj-$(CONFIG_ACPI_VIDEO) += video.o
|
|
obj-$(CONFIG_ACPI_HOTKEY) += hotkey.o
|
|
obj-$(CONFIG_ACPI_PCI) += pci_root.o pci_link.o pci_irq.o pci_bind.o
|
|
obj-$(CONFIG_ACPI_POWER) += power.o
|
|
obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
|
|
obj-$(CONFIG_ACPI_CONTAINER) += container.o
|
|
obj-$(CONFIG_ACPI_THERMAL) += thermal.o
|
|
obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o
|
|
obj-$(CONFIG_ACPI_DEBUG) += debug.o
|
|
obj-$(CONFIG_ACPI_NUMA) += numa.o
|
|
obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
|
|
obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o
|
|
obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
|
|
obj-$(CONFIG_ACPI_BUS) += scan.o motherboard.o
|
|
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
|