GPE block driver
PATCH 2/2 GPE block driver
GPE block driver
This simple driver sets up the ACPI core to handle GPE blocks that are not described in the FADT.
Index: ./drivers/acpi/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/acpi/Kconfig,v retrieving revision 1.16
drivers/acpi/Kconfig +14 -0
@@ -134,6 +134,20 @@ config ACPI_FAN This driver adds support for ACPI fan devices, allowing user-mode applications to perform basic fan control (on, off, status). +config ACPI_GPE_BLOCK + tristate "GPE block" + depends on ACPI_INTERPRETER + depends on !IA64_SGI_SN + default m + help + GPE block devices are used to expand the number of ACPI events + available to the system. Common uses include expansion chassis + and laptop docking stations. If you don't know whether you + have one or not, it is safe to say Y. + + To compile this driver as a module, choose M here: the module + will be called gpe-block. + config ACPI_PROCESSOR tristate "Processor" depends on ACPI_INTERPRETER
Index: ./drivers/acpi/Makefile
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/acpi/Makefile,v retrieving revision 1.7
drivers/acpi/Makefile +1 -0
@@ -42,6 +42,7 @@ 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_GPE_BLOCK) += gpe-block.o obj-$(CONFIG_ACPI_VIDEO) += video.o obj-$(CONFIG_ACPI_PCI) += pci_root.o pci_link.o pci_irq.o pci_bind.o obj-$(CONFIG_ACPI_POWER) += power.o
Index: ./drivers/acpi/gpe-block.c
===================================================================
RCS file: ./drivers/acpi/gpe-block.c
drivers/acpi/gpe-block.c new file +163 -0
163 lines not on this page · raw message
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click