summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2007-11-15 10:05:05 +0100
committerLen Brown <len.brown@intel.com>2007-11-17 03:43:21 +0100
commit9bcb27217344c2c1389db3983a436e19484c2f50 (patch)
tree14c28cade53f8f64755f3d660149c3c7d501fd1d /net/802
parentACPI: throttle: Change internal APIs better handle _PTC (diff)
downloadlinux-9bcb27217344c2c1389db3983a436e19484c2f50.tar.xz
linux-9bcb27217344c2c1389db3983a436e19484c2f50.zip
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>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions