Zhao Yakui 9bcb272173 ACPI: Use _TSS for throttling control, when present. Add error checks.
_TSS was erroneously ignored, in favor of the FADT.

When TSS is used, the access width is included in the PTC control/status
register.  So it is unnecessary that the access bit width is multiplied by 8.
At the same time the bit_offset should be considered for system I/O Access.

It should be checked the bit_width and bit_offset of PTC regsiter in order to
avoid the failure of system I/O access. It means that bit_width plus
bit_offset can't be greater than 32.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-11-16 21:43:21 -05:00
..
2007-05-09 23:34:35 -04:00
2007-05-09 23:34:35 -04:00
2007-10-10 01:00:45 -04:00
2007-05-09 23:34:35 -04:00
2007-08-11 15:47:42 -07:00
2007-11-14 18:45:44 -08:00
2007-08-11 22:10:04 -04:00
2007-03-09 21:19:05 -05:00
2007-02-12 22:42:12 -05:00
2007-02-12 22:42:12 -05:00
2007-10-25 16:38:02 -04:00
2007-07-22 00:54:24 -04:00
2007-11-14 18:45:39 -08:00
2007-09-27 15:50:23 -04:00
2007-02-12 22:42:12 -05:00