ACPICA: New: acpi_read and acpi_write public interfaces
authorBob Moore <robert.moore@intel.com>
Tue, 30 Dec 2008 18:55:32 +0000 (02:55 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 06:12:56 +0000 (01:12 -0500)
commitecfbbc7b46f74ca48b9f42132739114c9e70f8e4
tree99ff958735f35d812cf25075cc19d4c0f5c0ecb1
parent385c4d98d851bc94ad4f351fe25fe49b70b9cf78
ACPICA: New: acpi_read and acpi_write public interfaces

Changed the acpi_hw_low_level_read and acpi_hw_low_level_write functions to
the public acpi_read and acpi_write to allow direct access to
ACPI registers.  Removed the "width" parameter since the width
can be obtained from the input GAS structure. Updated the FADT
initialization to setup the GAS structures with the proper
widths. Some widths are still hardcoded because many FADTs have
incorrect register lengths.

Signed-off-by: Bob Moore <robert.moore@intel.com
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/events/evgpe.c
drivers/acpi/events/evgpeblk.c
drivers/acpi/hardware/hwgpe.c
drivers/acpi/hardware/hwregs.c
drivers/acpi/reboot.c
include/acpi/achware.h
include/acpi/acpixf.h