Skip to content

acpiphp extension for 2.6.7

Vernon Mauery linux-hotplug lkml 1 version In review

Get series with b4
b4 am 1088553033.25961.63.camel@bluerat

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2acpiphp extension for 2.6.7drivers/pci/hotplug/acpiphp.h drivers/pci/hotplug/acpiphp_core.c drivers/pci/hotplug/acpiphp_glue.c+106 -300 replies
1/2acpiphp extension for 2.6.7 (take 3)drivers/pci/hotplug/acpiphp.h drivers/pci/hotplug/acpiphp_core.c drivers/pci/hotplug/acpiphp_glue.c+115 -420 replies
2/2acpiphp extension for 2.6.7drivers/pci/hotplug/Kconfig drivers/pci/hotplug/Makefile drivers/pci/hotplug/acpiphp_ibm.c+489 -00 replies
2/2acpiphp extension for 2.6.7 (take 3)drivers/pci/hotplug/Kconfig drivers/pci/hotplug/Makefile drivers/pci/hotplug/acpiphp_ibm.c+487 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH] [0/2] acpiphp extension for 2.6.7

After much discussion, dissection, rewriting and reading (documentation of course), I finally think this patch is ready to be included in the kernel. I have chosen to split it into 2 parts because really, that's what it is -- a patch to acpiphp that allows other modules to register attention LED callback functions and also a new module that does just that for the IBM ACPI systems. These patches were made against the 2.6.7 kernel tree.

01 - acpiphp-attention.patch

This patch adds the ability to register callback functions with the acpiphp core to set and get the current attention LED status. The reason this is needed is because there is not set ACPI standard for how this is done so each hardware platform may implement it differently. To keep hardware specific code out of acpiphp, we allow other modules to register their code with it.

02 - acpiphp_ibm-v1.0.1c.patch

This patch adds the first driver that actually uses the callback function for attention LEDs that the acpiphp-attention patch adds. It searches the ACPI namespace for IBM hardware, sets up the callbacks and sets up a handler to read ACPI events and forward them on to /proc/acpi/event. It also exports an ACPI table that shows current hotplug status to userland.

The two patches are to follow.

--Vernon