Changeset 667
- Timestamp:
- 12/08/99 21:37:09 (9 years ago)
- Files:
-
- lm-sensors/trunk/TODO (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/adm1021.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/adm9240.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/bt869.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/eeprom.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/gl518sm.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/gl520sm.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/lm75.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/lm78.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/lm80.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/ltc1710.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/matorb.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/thmc50.c (modified) (1 diff)
- lm-sensors/trunk/kernel/chips/w83781d.c (modified) (1 diff)
- lm-sensors/trunk/kernel/sensors.c (modified) (2 diffs)
- lm-sensors/trunk/prog/detect/i2cdetect.c (modified) (1 diff)
- lm-sensors/trunk/prog/detect/sensors-detect (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/TODO
r639 r667 26 26 * Better general locking, or at least a once-over to check no race-conditions 27 27 remain. This is part of the SMP-safeness, and can better be done at once. 28 * Test SIS5595(/91/98) sensor support . Write generic i2c support.28 * Test SIS5595(/91/98) sensor support and SMBus support 29 29 Thomas Dickel <Thomas.Dickel@mni.fh-giessen.de> owns one SIS5595. 30 30 * adm9240: check whether the current voltage computations are correct. lm-sensors/trunk/kernel/chips/adm1021.c
r645 r667 214 214 goto ERROR0; 215 215 216 /* We need address registration for the I2C bus too. That is not yet217 implemented. */218 219 216 /* OK. For now, we presume we have a valid client. We now create the 220 217 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/adm9240.c
r645 r667 368 368 goto ERROR0; 369 369 370 /* We need address registration for the I2C bus too. That is not yet371 implemented. */372 373 370 /* OK. For now, we presume we have a valid client. We now create the 374 371 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/bt869.c
r645 r667 186 186 goto ERROR0; 187 187 188 /* Here, we have to do the address registration check for the I2C bus.189 But that is not yet implemented. */190 191 188 /* OK. For now, we presume we have a valid client. We now create the 192 189 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/eeprom.c
r645 r667 180 180 I2C_FUNC_SMBUS_WRITE_WORD_DATA)) 181 181 goto ERROR0; 182 183 /* Here, we have to do the address registration check for the I2C bus.184 But that is not yet implemented. */185 182 186 183 /* OK. For now, we presume we have a valid client. We now create the lm-sensors/trunk/kernel/chips/gl518sm.c
r666 r667 318 318 goto ERROR0; 319 319 320 /* We need address registration for the I2C bus too. That is not yet321 implemented. */322 323 320 /* OK. For now, we presume we have a valid client. We now create the 324 321 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/gl520sm.c
r645 r667 313 313 goto ERROR0; 314 314 315 /* We need address registration for the I2C bus too. That is not yet316 implemented. */317 318 315 /* OK. For now, we presume we have a valid client. We now create the 319 316 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/lm75.c
r645 r667 159 159 I2C_FUNC_SMBUS_WORD_DATA)) 160 160 goto ERROR0; 161 162 /* Here, we have to do the address registration check for the I2C bus.163 But that is not yet implemented. */164 161 165 162 /* OK. For now, we presume we have a valid client. We now create the lm-sensors/trunk/kernel/chips/lm78.c
r645 r667 320 320 goto ERROR0; 321 321 322 /* We need address registration for the I2C bus too. That is not yet323 implemented. */324 322 if (is_isa) { 325 323 if (check_region(address,LM78_EXTENT)) lm-sensors/trunk/kernel/chips/lm80.c
r646 r667 311 311 goto ERROR0; 312 312 313 /* Here, we have to do the address registration check for the I2C bus.314 But that is not yet implemented. */315 316 313 /* OK. For now, we presume we have a valid client. We now create the 317 314 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/ltc1710.c
r645 r667 173 173 goto ERROR0; 174 174 175 /* Here, we have to do the address registration check for the I2C bus.176 But that is not yet implemented. */177 178 175 /* OK. For now, we presume we have a valid client. We now create the 179 176 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/matorb.c
r645 r667 147 147 148 148 149 /* Here, we have to do the address registration check for the I2C bus.150 But that is not yet implemented. */151 152 149 /* OK. For now, we presume we have a valid client. We now create the 153 150 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/thmc50.c
r645 r667 205 205 goto ERROR0; 206 206 207 /* Here, we have to do the address registration check for the I2C bus.208 But that is not yet implemented. */209 210 207 /* OK. For now, we presume we have a valid client. We now create the 211 208 client structure, even though we cannot fill it completely yet. lm-sensors/trunk/kernel/chips/w83781d.c
r663 r667 654 654 goto ERROR0; 655 655 656 /* We need address registration for the I2C bus too. That is not yet657 implemented. */658 656 if (is_isa) { 659 657 if (check_region(address,W83781D_EXTENT)) lm-sensors/trunk/kernel/sensors.c
r645 r667 26 26 #include <linux/sysctl.h> 27 27 #include <linux/proc_fs.h> 28 #include <linux/ioport.h> 28 29 29 30 #include "version.h" … … 614 615 addr <= (is_isa?0xffff:0x7f); 615 616 addr ++) { 617 if ((is_isa && check_region(addr,1)) || 618 (!is_isa && i2c_check_addr(adapter,addr))) 619 continue; 616 620 617 621 /* If it is in one of the force entries, we don't do any detection lm-sensors/trunk/prog/detect/i2cdetect.c
r648 r667 88 88 for(j = 0; j < 16; j++) { 89 89 if (ioctl(file,I2C_SLAVE,i+j) < 0) { 90 fprintf(stderr,"Error: Could not set address to %d: %s\n",i+j, 91 strerror(errno)); 92 exit(1); 90 if (errno == EBUSY) { 91 printf("UU "); 92 continue; 93 } else { 94 fprintf(stderr,"Error: Could not set address to %02x: %s\n",i+j, 95 strerror(errno)); 96 exit(1); 97 } 93 98 } 94 99 lm-sensors/trunk/prog/detect/sensors-detect
r665 r667 1083 1083 } 1084 1084 1085 i2c_set_slave_addr(\*FILE,$addr) or print("Can't set address to $_?!?\n"),1086 next;1085 i2c_set_slave_addr(\*FILE,$addr) or 1086 printf("Client at address 0x%02x can not be probed - unload all client drivers first!\n",$addr), next; 1087 1087 1088 1088 next unless i2c_smbus_write_quick(\*FILE,$SMBUS_WRITE) >= 0;
