(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.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@796 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2000-05-05 23:56:49 +00:00
1 parent 429bd8c407
commit 03ef21e58b
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ ask CVS about it:
cvs diff -r V2-0-0 -r V2-0-1 -u
2.5.1 (2000????)
Module ddcmon: Fixed bus scan which could hang SMBus
Module maxilife: Add support for Maxilife '99 (NBA)
Module via686a: Enable sensors if not enabled by BIOS
Module w83781d: Improve w83783s support
+1 -1
View File
@@ -40,7 +40,7 @@
/* Addresses to scan */
static unsigned short normal_i2c[] = { SENSORS_I2C_END };
static unsigned short normal_i2c_range[] = { 0x50, SENSORS_I2C_END };
static unsigned short normal_i2c_range[] = { 0x50, 0x50, SENSORS_I2C_END };
static unsigned int normal_isa[] = { SENSORS_ISA_END };
static unsigned int normal_isa_range[] = { SENSORS_ISA_END };
+1 -1
View File
@@ -51,7 +51,7 @@
/* Addresses to scan */
#define ADDRESS 0x69
static unsigned short normal_i2c[] = { SENSORS_I2C_END };
static unsigned short normal_i2c_range[] = { ADDRESS, SENSORS_I2C_END };
static unsigned short normal_i2c_range[] = {ADDRESS, ADDRESS, SENSORS_I2C_END};
static unsigned int normal_isa[] = { SENSORS_ISA_END };
static unsigned int normal_isa_range[] = { SENSORS_ISA_END };