Changeset 4230
- Timestamp:
- 11/10/06 10:22:12 (7 years ago)
- Location:
- lm-sensors/trunk/prog
- Files:
-
- 7 modified
-
detect/i2cdetect.c (modified) (2 diffs)
-
dump/i2cbusses.c (modified) (1 diff)
-
dump/i2cdump.c (modified) (1 diff)
-
dump/i2cget.c (modified) (1 diff)
-
dump/i2cset.c (modified) (1 diff)
-
eepromer/24cXX.c (modified) (1 diff)
-
eepromer/eepromer.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/i2cdetect.c
r4213 r4230 154 154 }; 155 155 156 void print_functionality( long funcs)156 void print_functionality(unsigned long funcs) 157 157 { 158 158 int i; … … 169 169 int i2cbus, file, res; 170 170 char filename[20]; 171 long funcs;171 unsigned long funcs; 172 172 int mode = MODE_AUTO; 173 173 int first = 0x03, last = 0x77; -
lm-sensors/trunk/prog/dump/i2cbusses.c
r4080 r4230 55 55 static enum adt i2c_get_funcs(int i2cbus) 56 56 { 57 long funcs;57 unsigned long funcs; 58 58 int file; 59 59 char filename[20]; -
lm-sensors/trunk/prog/dump/i2cdump.c
r4094 r4230 56 56 int bank = 0, bankreg = 0x4E, old_bank = 0; 57 57 char filename[20]; 58 long funcs;58 unsigned long funcs; 59 59 int block[256]; 60 60 int pec = 0, even = 0; -
lm-sensors/trunk/prog/dump/i2cget.c
r4080 r4230 52 52 int check_funcs(int file, int i2cbus, int size, int daddress, int pec) 53 53 { 54 long funcs;54 unsigned long funcs; 55 55 56 56 /* check adapter functionality */ -
lm-sensors/trunk/prog/dump/i2cset.c
r4080 r4230 50 50 int e1; 51 51 char filename[20]; 52 long funcs;52 unsigned long funcs; 53 53 int pec = 0; 54 54 int flags = 0; -
lm-sensors/trunk/prog/eepromer/24cXX.c
r2099 r4230 70 70 int eeprom_open(char *dev_fqn, int addr, int type, struct eeprom* e) 71 71 { 72 int funcs, fd, r; 72 int fd, r; 73 unsigned long funcs; 73 74 e->fd = e->addr = 0; 74 75 e->dev = 0; -
lm-sensors/trunk/prog/eepromer/eepromer.c
r2830 r4230 80 80 81 81 int i,j,res,i2cbus,address,size,file; 82 long funcs;83 82 struct i2c_msg *msgs,msg[2]; 84 83 int nmsgs,addr; … … 377 376 378 377 int file; 379 long funcs;378 unsigned long funcs; 380 379 381 380 if ((file = open(device,O_RDWR)) < 0) {
