Changeset 1501

Show
Ignore:
Timestamp:
08/22/02 04:15:07 (11 years ago)
Author:
mds
Message:

remove VT8231 support from via686a and move to a new dedicated driver.

This driver is a copy of vt1211, which is almost identical.
The vt1211 is a super i/o chip and the vt8231 is a PCI chip.

Location:
lm-sensors/trunk
Files:
2 added
5 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1500 r1501  
    2828  Module i2c-sis630: new 
    2929  Module lm92: Fix in-kernel initialization 
     30  Module via686a: Remove VT8231 support 
     31  Module vt8231: new 
    3032  Module w83781: recognize Asus "ASB100 Bach" as AS99127F 
    3133  Program dmidecode: new 
  • lm-sensors/trunk/doc/chips/via686a

    r1378 r1501  
    99    Addresses scanned: ISA in PCI-space encoded address 
    1010    Datasheet: Sometimes available at the Via site http://www.via.com.tw. 
    11  
    12   * Via VT8231  Southbridge Integrated Hardware Monitor 
    13     Prefix: via686a 
    14     Addresses scanned: ISA in PCI-space encoded address 
    15     Datasheet: On request from Via 
    1611 
    1712Authors: Kyösti Mälkki <kmalkki@cc.hut.fi>, 
     
    3631 
    3732The driver does not distinguish between the chips and reports 
    38 all as a 686A. Features specific to the 8231 are not yet supported. 
     33all as a 686A. 
    3934 
    4035The Via 686a southbridge has integrated hardware monitor functionality. 
  • lm-sensors/trunk/kernel/chips/Module.mk

    r1425 r1501  
    2727KERNELCHIPSTARGETS := 
    2828KERNELCHIPSTARGETS += $(MODULE_DIR)/smbus-arp.o 
     29KERNELCHIPSTARGETS += $(MODULE_DIR)/vt8231.o 
    2930 
    3031 
  • lm-sensors/trunk/kernel/chips/via686a.c

    r1420 r1501  
    2626 
    2727/* 
    28     Supports the Via VT82C686A, VT82C686B, and VT8231 south bridges. 
     28    Supports the Via VT82C686A, VT82C686B south bridges. 
    2929    Reports all as a 686A. 
    30     8231-specific features not yet supported. 
    3130    See doc/chips/via686a for details. 
    3231    Warning - only supports a single device. 
     
    8180 
    8281/* Insmod parameters */ 
    83 SENSORS_INSMOD_2(via686a, vt8231); 
     82SENSORS_INSMOD_1(via686a); 
    8483 
    8584/* 
     
    535534                                         PCI_DEVICE_ID_VIA_82C686_4, 
    536535                                         NULL))) 
    537                 if (!(s_bridge = pci_find_device(PCI_VENDOR_ID_VIA, 
    538                                                  0x8235, 
    539                                                  NULL))) return -ENODEV; 
     536                return -ENODEV; 
    540537 
    541538        if (PCIBIOS_SUCCESSFUL != 
  • lm-sensors/trunk/kernel/include/sensors.h

    r1418 r1501  
    633633#define LM92_TEMP_INPUT                 0x80 
    634634 
     635#define VT8231_SYSCTL_IN0 1000 
     636#define VT8231_SYSCTL_IN1 1001 
     637#define VT8231_SYSCTL_IN2 1002 
     638#define VT8231_SYSCTL_IN3 1003 
     639#define VT8231_SYSCTL_IN4 1004 
     640#define VT8231_SYSCTL_IN5 1005 
     641#define VT8231_SYSCTL_IN6 1006 
     642#define VT8231_SYSCTL_FAN1 1101 
     643#define VT8231_SYSCTL_FAN2 1102 
     644#define VT8231_SYSCTL_TEMP 1200 
     645#define VT8231_SYSCTL_TEMP2 1201 
     646#define VT8231_SYSCTL_TEMP3 1202 
     647#define VT8231_SYSCTL_TEMP4 1203 
     648#define VT8231_SYSCTL_TEMP5 1204 
     649#define VT8231_SYSCTL_TEMP6 1205 
     650#define VT8231_SYSCTL_TEMP7 1206 
     651#define VT8231_SYSCTL_VID       1300 
     652#define VT8231_SYSCTL_PWM1      1401 
     653#define VT8231_SYSCTL_PWM2      1402 
     654#define VT8231_SYSCTL_VRM       1600 
     655#define VT8231_SYSCTL_UCH       1700 
     656#define VT8231_SYSCTL_FAN_DIV 2000 
     657#define VT8231_SYSCTL_ALARMS 2001 
     658 
     659#define VT8231_ALARM_IN1 0x01 
     660#define VT8231_ALARM_IN2 0x02 
     661#define VT8231_ALARM_IN5 0x04 
     662#define VT8231_ALARM_IN3 0x08 
     663#define VT8231_ALARM_TEMP 0x10 
     664#define VT8231_ALARM_FAN1 0x40 
     665#define VT8231_ALARM_FAN2 0x80 
     666#define VT8231_ALARM_IN4 0x100 
     667#define VT8231_ALARM_IN6 0x200 
     668#define VT8231_ALARM_TEMP2 0x800 
     669#define VT8231_ALARM_CHAS 0x1000 
     670#define VT8231_ALARM_TEMP3 0x8000 
     671/* duplicates */ 
     672#define VT8231_ALARM_IN0 VT8231_ALARM_TEMP 
     673#define VT8231_ALARM_TEMP4 VT8231_ALARM_IN1 
     674#define VT8231_ALARM_TEMP5 VT8231_ALARM_IN2 
     675#define VT8231_ALARM_TEMP6 VT8231_ALARM_IN3 
     676#define VT8231_ALARM_TEMP7 VT8231_ALARM_IN4 
     677 
    635678#endif                          /* def SENSORS_SENSORS_H */