From: Frank Myhr Date: Wed, 6 Aug 2008 20:41:06 +0000 (+0200) Subject: hwmon: (hwmon-vid) Add 6-bit vid codes for AMD NPT 0Fh cpus X-Git-Tag: v2.6.27-rc3~80^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116d0486bdefc11f71e567cadf0c47f788b4dd06;p=pandora-kernel.git hwmon: (hwmon-vid) Add 6-bit vid codes for AMD NPT 0Fh cpus AMD NPT 0Fh cpus use 6 bit VID codes. Successive codes with msb 0 describe 25mV decrements, while those with msb 1 describe 12.5mV decrements. Existing hwmon-vid.c is correct only for codes with msb 0; add support for the codes with msb 1. Ref: p 309, Table 71 AMD Publication 32559, BIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processors http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf Signed-off-by: Frank Myhr Signed-off-by: Jean Delvare --- Reading git-diff-tree failed