From b4b343d74be8d5fb71bdffd3273b993bf3dde412 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 3 Feb 2001 19:22:54 +0000 Subject: [PATCH] claim support for Via 686B. Same PCI id as 686A. No driver changes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1010 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 4 +++- README | 2 +- doc/chips/via686a | 15 +++++++++------ kernel/chips/via686a.c | 7 +++++-- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index d1ad0eb1..3925b785 100644 --- a/CHANGES +++ b/CHANGES @@ -17,14 +17,16 @@ ask CVS about it: ----------------------------------------------------------------------------- -2.5.6 (2001????) +2.6.0 (2001????) File doc/FAQ: Updates + File doc/chips/via686a: Claim support for 686b. File sensors.conf.eg: Adjust as99127f -12V calculation Module lm78: Recognize chipid=0x20 Module lm87: Fix in0, in1 (2.5V and Vccp1) calculations Module sensors: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. Module via686a: Allow force=9191,address (for A7V/K7V boards) Program mkpatch.pl: Fix adm9240 typos + Program sensors: Change reported version from 1.3 to the lm_sensors version. Program sensors-detect: Recognize lm78 with chipid=0x20 2.5.5 (20010115) diff --git a/README b/README index 8231c8c0..20a52525 100644 --- a/README +++ b/README @@ -55,7 +55,7 @@ At least the following hardware sensor chips are supported: SiS 5595 embedded sensors TelCom TCN75 TI THMC10 and THMC50 - VIA Technologies VT82C686A embedded sensors + VIA Technologies VT82C686A/B embedded sensors Winbond W83781D, W83782D, W83783S, and W83627HF diff --git a/doc/chips/via686a b/doc/chips/via686a index 19ab2d8b..919f57cd 100644 --- a/doc/chips/via686a +++ b/doc/chips/via686a @@ -1,13 +1,13 @@ Kernel driver `via686a.o' ========================= -Status: Alpha. +Status: Stable. Supported chips: - * Via 686a Southbridge Integrated Hardware Monitor + * Via VT82C686A, VT82C686B Southbridge Integrated Hardware Monitor Prefix: via686a Addresses scanned: ISA in PCI-space encoded address - Datasheet: Publicly available at the Silicon Integrated Systems Corp. site. + Datasheet: Publicly available at the Via site http://www.via.com.tw. Authors: Kyösti Mälkki , Mark D. Studebaker @@ -18,9 +18,9 @@ Authors: Ky Module Parameters ----------------- -force=9191,address Set the I/O base address. Useful for Asus A7V boards that - don't set the address in the BIOS. Does not do a PCI - force; the via686a must still be present in lspci. +force=9191,address Set the I/O base address. Useful for Asus A7V boards + that don't set the address in the BIOS. Does not do a + PCI force; the via686a must still be present in lspci. Don't use this unless the driver complains that the base address is not set. Otherwise the driver will recognize both the old and the forced address. @@ -31,6 +31,9 @@ force_via686a=9191,address Same as force. Description ----------- +The driver does not distinguish between a 686A or 686B and reports +both as a 686A. + The Via 686a southbridge has integrated hardware monitor functionality. It also has an I2C bus, but this driver only supports the hardware monitor. For the I2C bus driver, see ../busses/i2c-viapro. diff --git a/kernel/chips/via686a.c b/kernel/chips/via686a.c index a8846775..73cd46b7 100644 --- a/kernel/chips/via686a.c +++ b/kernel/chips/via686a.c @@ -2,7 +2,7 @@ via686a.c - Part of lm_sensors, Linux kernel modules for hardware monitoring - Copyright (c) 1998, 1999,2000 Frodo Looijaard , + Copyright (c) 1998 - 2001 Frodo Looijaard , Kyösti Mälkki , Mark Studebaker , and Bob Dougherty @@ -25,7 +25,10 @@ */ /* - Warning - only supports a single via686a device. + Supports the Via VT82C686A and VT82C686B south bridges. + Reports either as a 686A. + See doc/chips/via686a for details. + Warning - only supports a single device. */ #include #include