diff options
| author | Rudolf Marek <r.marek@sh.cvut.cz> | 2005-01-06 00:22:21 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2005-01-06 00:22:21 -0800 |
| commit | 912a12e9dd308fcda85dece0b9a81af9ff17656c (patch) | |
| tree | b74a478db0a736232dc75ec80c59044a186f6604 | |
| parent | 57683a86839aaba3b861c3baa0da94a6140e0c36 (diff) | |
[PATCH] I2C: vid version detection fix
AMD 64 uses same VID table as Opteron.
Source:
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25112.PDF
Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
| -rw-r--r-- | drivers/i2c/i2c-sensor-vid.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/i2c/i2c-sensor-vid.c b/drivers/i2c/i2c-sensor-vid.c index 017dcc5c6bf8..922e22f054bb 100644 --- a/drivers/i2c/i2c-sensor-vid.c +++ b/drivers/i2c/i2c-sensor-vid.c @@ -36,8 +36,7 @@ struct vrm_model { static struct vrm_model vrm_models[] = { {X86_VENDOR_AMD, 0x6, ANY, 90}, /* Athlon Duron etc */ - {X86_VENDOR_AMD, 0xF, 0x4, 90}, /* Athlon 64 */ - {X86_VENDOR_AMD, 0xF, 0x5, 24}, /* Opteron */ + {X86_VENDOR_AMD, 0xF, ANY, 24}, /* Athlon 64, Opteron */ {X86_VENDOR_INTEL, 0x6, 0x9, 85}, /* 0.13um too */ {X86_VENDOR_INTEL, 0x6, 0xB, 85}, /* 0xB Tualatin */ {X86_VENDOR_INTEL, 0x6, ANY, 82}, /* any P6 */ @@ -87,7 +86,7 @@ int i2c_which_vrm(void) return vrm_ret; } -/* and now something completely different for Non-x86 world*/ +/* and now for something completely different for Non-x86 world*/ #else int i2c_which_vrm(void) { |
