Changeset 796

Show
Ignore:
Timestamp:
05/06/00 01:56:49 (9 years ago)
Author:
mds
Message:

(mds) fixed normal_i2c_range declaration; bus was being scanned

all the way to end of address range, which was hitting clock
chip and hanging the bus.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r792 r796  
    1515 
    16162.5.1 (2000????) 
     17  Module ddcmon: Fixed bus scan which could hang SMBus 
    1718  Module maxilife: Add support for Maxilife '99 (NBA) 
    1819  Module via686a: Enable sensors if not enabled by BIOS 
  • lm-sensors/trunk/kernel/chips/ddcmon.c

    r713 r796  
    4141/* Addresses to scan */ 
    4242static unsigned short normal_i2c[] = { SENSORS_I2C_END }; 
    43 static unsigned short normal_i2c_range[] = { 0x50, SENSORS_I2C_END }; 
     43static unsigned short normal_i2c_range[] = { 0x50, 0x50, SENSORS_I2C_END }; 
    4444static unsigned int normal_isa[] = { SENSORS_ISA_END }; 
    4545static unsigned int normal_isa_range[] = { SENSORS_ISA_END }; 
  • lm-sensors/trunk/kernel/chips/icspll.c

    r757 r796  
    5252#define ADDRESS 0x69 
    5353static unsigned short normal_i2c[] = { SENSORS_I2C_END }; 
    54 static unsigned short normal_i2c_range[] = { ADDRESS, SENSORS_I2C_END }; 
     54static unsigned short normal_i2c_range[] = {ADDRESS, ADDRESS, SENSORS_I2C_END}; 
    5555static unsigned int normal_isa[] = { SENSORS_ISA_END }; 
    5656static unsigned int normal_isa_range[] = { SENSORS_ISA_END };