From 676e7136bf876d664d1b17cc44fe0ad497146587 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sun, 24 Mar 2002 01:57:46 +0000 Subject: [PATCH] add support for Via 8233A (0x3147) tested by neber@mwtc.e-technik.uni-ulm.de (Eckhard Neber) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1341 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 4 ++++ doc/busses/i2c-viapro | 11 ++++++----- kernel/busses/i2c-viapro.c | 3 ++- prog/detect/sensors-detect | 8 ++++++++ 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index af55b7de..5cb80e76 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,10 @@ ask CVS about it: ----------------------------------------------------------------------------- +2.6.4 (2002????) + Module i2c-viapro: Add support for VT8233A (0x3147) + Program sensors-detect: Add VT8233A + 2.6.3 (20020322) NOTE: Requires i2c-2.6.1 or newer, or kernel 2.4.13 or newer. Chip modules (most): Allow THIS_MODULE definition for kernels 2.2.18+ diff --git a/doc/busses/i2c-viapro b/doc/busses/i2c-viapro index b738ae46..50dd01f7 100644 --- a/doc/busses/i2c-viapro +++ b/doc/busses/i2c-viapro @@ -9,7 +9,7 @@ Supported adapters: * VIA Technologies, Inc. VT82C686 Datasheet: Sometimes available at the VIA website - * VIA Technologies, Inc. VT8233 + * VIA Technologies, Inc. VT8233, 8233A Datasheet: not available? Author: Kyösti Mälkki @@ -32,10 +32,11 @@ supported VIA southbridges. Your /proc/pci or lspci -n listing must show one of these : - device 1106:3050 (vt82c596 function 3) - device 1106:3051 (vt82c596 function 3) - device 1106:3057 (vt82c686 function 4) - device 1106:3074 (vt8233 function 4) + device 1106:3050 (VT82c596 function 3) + device 1106:3051 (VT82c596 function 3) + device 1106:3057 (VT82c686 function 4) + device 1106:3074 (VT8233) + device 1106:3147 (VT8233A) If none of these show up, you should look in the BIOS for settings like enable ACPI / SMBus or even USB. diff --git a/kernel/busses/i2c-viapro.c b/kernel/busses/i2c-viapro.c index 50116677..b059d085 100644 --- a/kernel/busses/i2c-viapro.c +++ b/kernel/busses/i2c-viapro.c @@ -25,7 +25,7 @@ 82C596A/B (0x3050) 82C596B (0x3051) 82C686A/B - 8233 + 8233, 8233A Note: we assume there can only be one device, with one SMBus interface. */ @@ -70,6 +70,7 @@ static struct sd supported[] = { {PCI_DEVICE_ID_VIA_82C596B_3, SMBBA1, 0xD2, "VT82C596B"}, {PCI_DEVICE_ID_VIA_82C686_4, SMBBA1, 0xD2, "VT82C686A/B"}, {PCI_DEVICE_ID_VIA_8233_0, SMBBA3, 0xD2, "VT8233"}, + {0x3147, SMBBA3, 0xD2, "VT8233A"}, {0, 0, 0, NULL} }; diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 2d9f19ad..86f1afc6 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -136,6 +136,14 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters); driver => "i2c-viapro", match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, } , + { + vendid => 0x1106, + devid => 0x3147, + func => 0, + procid => "VIA Technologies VT8233A South Bridge", + driver => "i2c-viapro", + match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + } , { vendid => 0x1106, devid => 0x8231,