ACPI: Provide /sys/kernel/debug//ec/ec0/io for binary access to the EC
authorThomas Renninger <trenn@suse.de>
Fri, 16 Jul 2010 11:11:32 +0000 (13:11 +0200)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:08 +0000 (09:49 -0400)
commit9827886dce77c47c378ce3154689cea2c45c731d
tree1e017588d4c4fcbced1f8e8725fff57a3889d015
parent1195a098168fcacfef1cd80d05358e52fb366bf6
ACPI: Provide /sys/kernel/debug//ec/ec0/io for binary access to the EC

A userspace app to easily read/write the EC can be found here:
ftp://ftp.suse.com/pub/people/trenn/sources/ec/ec_access.c

Multiple ECs are not supported, but shouldn't be hard to add as soon
as the ec driver itself will support them.

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: Alexey Starikovskiy <astarikovskiy@suse.de>
CC: Len Brown <lenb@kernel.org>
CC: linux-kernel@vger.kernel.org
CC: linux-acpi@vger.kernel.org
CC: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/acpi/ec_sys.c