diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:23 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:30 -0500 |
commit | 59fa85057e12ff135df54266722b2064c418fc05 (patch) | |
tree | 697a677e71f9c9e23a13d62df720a3778de6c1d4 /drivers/acpi/hardware | |
parent | ff40c8a3f258e9a54b0b94b92d5e2d9d88a39954 (diff) |
ACPICA: Removed all 16-bit support.
Support for 16-bit ACPICA has been completely removed since it is
no longer necessary and it clutters the code. All 16-bit macros,
types, and conditional compiles have been removed, cleaning up
and simplifying the code across the entire subsystem.
DOS support is no longer needed since the Linux firmware kit
is now available.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/hardware')
-rw-r--r-- | drivers/acpi/hardware/hwregs.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c index 716e4aeca1e1..5b19fc75cbd0 100644 --- a/drivers/acpi/hardware/hwregs.c +++ b/drivers/acpi/hardware/hwregs.c | |||
@@ -788,8 +788,8 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) | |||
788 | 788 | ||
789 | case ACPI_ADR_SPACE_SYSTEM_IO: | 789 | case ACPI_ADR_SPACE_SYSTEM_IO: |
790 | 790 | ||
791 | status = acpi_os_read_port((acpi_io_address) address, | 791 | status = |
792 | value, width); | 792 | acpi_os_read_port((acpi_io_address) address, value, width); |
793 | break; | 793 | break; |
794 | 794 | ||
795 | default: | 795 | default: |
@@ -800,8 +800,7 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) | |||
800 | 800 | ||
801 | ACPI_DEBUG_PRINT((ACPI_DB_IO, | 801 | ACPI_DEBUG_PRINT((ACPI_DB_IO, |
802 | "Read: %8.8X width %2d from %8.8X%8.8X (%s)\n", | 802 | "Read: %8.8X width %2d from %8.8X%8.8X (%s)\n", |
803 | *value, width, | 803 | *value, width, ACPI_FORMAT_UINT64(address), |
804 | ACPI_FORMAT_UINT64(address), | ||
805 | acpi_ut_get_region_name(reg->space_id))); | 804 | acpi_ut_get_region_name(reg->space_id))); |
806 | 805 | ||
807 | return (status); | 806 | return (status); |
@@ -858,8 +857,8 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) | |||
858 | 857 | ||
859 | case ACPI_ADR_SPACE_SYSTEM_IO: | 858 | case ACPI_ADR_SPACE_SYSTEM_IO: |
860 | 859 | ||
861 | status = acpi_os_write_port((acpi_io_address) address, | 860 | status = acpi_os_write_port((acpi_io_address) address, value, |
862 | value, width); | 861 | width); |
863 | break; | 862 | break; |
864 | 863 | ||
865 | default: | 864 | default: |
@@ -870,8 +869,7 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) | |||
870 | 869 | ||
871 | ACPI_DEBUG_PRINT((ACPI_DB_IO, | 870 | ACPI_DEBUG_PRINT((ACPI_DB_IO, |
872 | "Wrote: %8.8X width %2d to %8.8X%8.8X (%s)\n", | 871 | "Wrote: %8.8X width %2d to %8.8X%8.8X (%s)\n", |
873 | value, width, | 872 | value, width, ACPI_FORMAT_UINT64(address), |
874 | ACPI_FORMAT_UINT64(address), | ||
875 | acpi_ut_get_region_name(reg->space_id))); | 873 | acpi_ut_get_region_name(reg->space_id))); |
876 | 874 | ||
877 | return (status); | 875 | return (status); |