Changeset 430
- Timestamp:
- 04/28/99 20:18:12 (10 years ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (1 diff)
- lm-sensors/trunk/CONTRIBUTORS (modified) (1 diff)
- lm-sensors/trunk/INSTALL (modified) (1 diff)
- lm-sensors/trunk/TODO (modified) (1 diff)
- lm-sensors/trunk/doc/busses/i2c-hydra (added)
- lm-sensors/trunk/doc/developers/design (modified) (1 diff)
- lm-sensors/trunk/i2c/MODIFICATIONS (modified) (1 diff)
- lm-sensors/trunk/i2c/algo-bit.h (modified) (1 diff)
- lm-sensors/trunk/i2c/bit-lp.c (modified) (1 diff)
- lm-sensors/trunk/i2c/i2c.h (modified) (1 diff)
- lm-sensors/trunk/kernel/busses/Module.mk (modified) (1 diff)
- lm-sensors/trunk/kernel/busses/i2c-hydra.c (added)
- lm-sensors/trunk/kernel/smbus.c (modified) (1 diff)
- lm-sensors/trunk/prog/detect/sensors-detect (modified) (1 diff)
- lm-sensors/trunk/prog/dump/isadump.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r415 r430 13 13 for example: 14 14 cvs diff -r V2-0-0 -r V2-0-1 -u 15 16 2.3.1 (199904??) 17 All: Now compiles on PPC 18 Module i2c-hydra: NEW 15 19 16 20 2.3.0 (19990422) lm-sensors/trunk/CONTRIBUTORS
r380 r430 25 25 * Mark D. Studebaker <mds@eng.paradyne.com> 26 26 Author of the i2c-ali15x3 driver, as well as other drivers. 27 * Geert Uytterhoeven <geert@linux-m68k.org> 28 Author of the i2c-hydra driver. 27 29 * Adrian Baugh <adrian.baugh@keble.ox.ac.uk> 28 30 Author of wmsensors (get it at http://users.ox.ac.uk/~kebl0850/wmlm78); lm-sensors/trunk/INSTALL
r421 r430 170 170 not installed. doc/progs contains some documentation for each of them. 171 171 Most important are prog/mkdev/mkdev.sh, which creates /dev/i2c-* files, 172 and prog/detect/de ctect.pl, which tries to detect what adapters are172 and prog/detect/detect.pl, which tries to detect what adapters are 173 173 present on your system. lm-sensors/trunk/TODO
r429 r430 4 4 ============== 5 5 6 * `modprobe w83781d force_w38781d=0,0x49' let to strange beeping on Frodo's 7 computer. Why? 6 8 * Increase use count of adapter driver if directory of chip is entered 7 9 * maxilife.c: Introduce new insmod variables lm-sensors/trunk/doc/developers/design
r414 r430 184 184 185 185 This is Simon Vogl's i2c module (this one is different from the i2c module 186 included in kernels around 1.2.120!).186 included in kernels around 2.1.120!). 187 187 188 188 A driver lm-sensors/trunk/i2c/MODIFICATIONS
r399 r430 49 49 Everywhere, remakeable files are removed, to keep the source distribution 50 50 small and lean. 51 52 * algo-bit.h: Removed comment typo (Geert) 53 54 * bit-lp.c: Added #include <linux/stddef> (Geert) 55 56 * i2c.h: Added HW_B_HYDRA, removed two comment typos (Geert) lm-sensors/trunk/i2c/algo-bit.h
r387 r430 12 12 char name[32]; /* give it a nice name */ 13 13 unsigned int id; /* not used yet, maybe later */ 14 void *data; /* private data for lo level routines */14 void *data; /* private data for lowlevel routines */ 15 15 void (*setsda) (void *data, int state); 16 16 void (*setscl) (void *data, int state); lm-sensors/trunk/i2c/bit-lp.c
r347 r430 25 25 #include <linux/module.h> 26 26 #include <asm/io.h> 27 #include <linux/stddef.h> 27 28 28 29 #include "i2c.h" lm-sensors/trunk/i2c/i2c.h
r399 r430 340 340 #define HW_B_WNV 0x06 /* Winnov Videums */ 341 341 #define HW_B_VIA 0x07 /* Via vt82c586b */ 342 #define HW_B_HYDRA 0x08 /* Apple Hydra Mac I/O */ 342 343 343 344 /* --- PCF 8584 based algorithms */ 344 345 #define HW_P_LP 0x00 /* Parallel port interface */ 345 #define HW_P_ISA 0x01 /* generic ISA Bus inte face card */346 #define HW_P_ELEK 0x02 /* Elektor ISA Bus inte face card */346 #define HW_P_ISA 0x01 /* generic ISA Bus interface card */ 347 #define HW_P_ELEK 0x02 /* Elektor ISA Bus interface card */ 347 348 348 349 lm-sensors/trunk/kernel/busses/Module.mk
r211 r430 24 24 # defined value verbatim into the command-list of rules... 25 25 KERNELBUSSESTARGETS := $(MODULE_DIR)/i2c-piix4.o $(MODULE_DIR)/i2c-isa.o \ 26 $(MODULE_DIR)/i2c-via.o $(MODULE_DIR)/i2c-ali15x3.o 26 $(MODULE_DIR)/i2c-via.o $(MODULE_DIR)/i2c-ali15x3.o \ 27 $(MODULE_DIR)/i2c-hydra.o 27 28 28 29 KERNELBUSSESOLD := bit-via.o bit-mb.o isa.o piix4.o lm-sensors/trunk/kernel/smbus.c
r396 r430 22 22 #include <linux/kernel.h> 23 23 #include <linux/stddef.h> 24 #include <asm/system.h> 24 25 25 26 #include "i2c.h" lm-sensors/trunk/prog/detect/sensors-detect
r410 r430 79 79 match => sub { $_[0] =~ /^SMBus ALI15X3 adapter at [0-9,a-f]{4}/ }, 80 80 } 81 { 82 vendid => 0x106b, 83 devid => 0x000e, 84 func => 0, 85 procid => "Apple Computer Inc. Hydra Mac I/O", 86 driver => "i2c-hydra", 87 match => sub { $_[0] =~ /^Hydra i2c/ }, 88 }, 81 89 ); 82 90 lm-sensors/trunk/prog/dump/isadump.c
r168 r430 23 23 #include <asm/io.h> 24 24 25 25 26 /* To keep glibc2 happy */ 26 #if def __GLIBC__27 #if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ == 0 27 28 #include <sys/perm.h> 28 29 #endif 30 31 #ifdef __powerpc__ 32 unsigned long isa_io_base = 0; /* XXX for now */ 33 #endif /* __powerpc__ */ 29 34 30 35 char hexchar(int i) … … 94 99 sleep(5); 95 100 101 #ifndef __powerpc__ 96 102 if ((datareg < 0x400) && (datareg < 0x400)) { 97 103 if(ioperm(datareg,1,1)) { … … 109 115 } 110 116 } 117 #endif 111 118 112 119 printf(" 0 1 2 3 4 5 6 7 8 9 a b c d e f\n");
