Changeset 67
- Timestamp:
- 12/11/98 03:16:59 (14 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 6 modified
-
kernel/busses/i2c-isa.c (modified) (3 diffs)
-
kernel/i2c-proc.c (modified) (1 diff)
-
kernel/smbus.c (modified) (3 diffs)
-
src/i2c-proc.c (modified) (1 diff)
-
src/isa.c (modified) (3 diffs)
-
src/smbus.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/busses/i2c-isa.c
r44 r67 76 76 int num) 77 77 { 78 #ifdef DEBUG 78 79 printk("isa.o: isa_master_xfer called for adapter `%s' " 79 80 "(no i2c level access possible!)\n", 80 81 adap->name); 81 82 return -1; 83 #endif 82 84 } 83 85 … … 85 87 int isa_slave_send (struct isa_adapter *adap, char *data, int len) 86 88 { 89 #ifdef DEBUG 87 90 printk("isa.o: isa_slave_send called for adapter `%s' " 88 91 "(no i2c level access possible!)\n", 89 92 adap->name); 90 93 return -1; 94 #endif 91 95 } 92 96 … … 94 98 int isa_slave_recv (struct isa_adapter *adap, char *data, int len) 95 99 { 100 #ifdef DEBUG 96 101 printk("isa.o: isa_slave_recv called for adapter `%s' " 97 102 "(no i2c level access possible!)\n", 98 103 adap->name); 99 104 return -1; 105 #endif 100 106 } 101 107 -
lm-sensors/trunk/kernel/i2c-proc.c
r55 r67 85 85 /* ops */ NULL, 86 86 /* get_info */ &read_bus_i2c 87 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58))88 /* fill_inode */ &monitor_bus_i2c89 #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58)) */90 87 }; 91 88 -
lm-sensors/trunk/kernel/smbus.c
r54 r67 188 188 int num) 189 189 { 190 #ifdef DEBUG 190 191 printk("smbus.o: smbus_master_xfer called for adapter `%s' " 191 192 "(no i2c level access possible!)\n", 192 193 adap->name); 193 194 return -1; 195 #endif 194 196 } 195 197 … … 197 199 int smbus_slave_send (struct smbus_adapter *adap, char *data, int len) 198 200 { 201 #ifdef DEBUG 199 202 printk("smbus.o: smbus_slave_send called for adapter `%s' " 200 203 "(no i2c level access possible!)\n", 201 204 adap->name); 202 205 return -1; 206 #endif 203 207 } 204 208 … … 206 210 int smbus_slave_recv (struct smbus_adapter *adap, char *data, int len) 207 211 { 212 #ifdef DEBUG 208 213 printk("smbus.o: smbus_slave_recv called for adapter `%s' " 209 214 "(no i2c level access possible!)\n", 210 215 adap->name); 211 216 return -1; 217 #endif 212 218 } 213 219 -
lm-sensors/trunk/src/i2c-proc.c
r55 r67 85 85 /* ops */ NULL, 86 86 /* get_info */ &read_bus_i2c 87 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58))88 /* fill_inode */ &monitor_bus_i2c89 #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58)) */90 87 }; 91 88 -
lm-sensors/trunk/src/isa.c
r44 r67 76 76 int num) 77 77 { 78 #ifdef DEBUG 78 79 printk("isa.o: isa_master_xfer called for adapter `%s' " 79 80 "(no i2c level access possible!)\n", 80 81 adap->name); 81 82 return -1; 83 #endif 82 84 } 83 85 … … 85 87 int isa_slave_send (struct isa_adapter *adap, char *data, int len) 86 88 { 89 #ifdef DEBUG 87 90 printk("isa.o: isa_slave_send called for adapter `%s' " 88 91 "(no i2c level access possible!)\n", 89 92 adap->name); 90 93 return -1; 94 #endif 91 95 } 92 96 … … 94 98 int isa_slave_recv (struct isa_adapter *adap, char *data, int len) 95 99 { 100 #ifdef DEBUG 96 101 printk("isa.o: isa_slave_recv called for adapter `%s' " 97 102 "(no i2c level access possible!)\n", 98 103 adap->name); 99 104 return -1; 105 #endif 100 106 } 101 107 -
lm-sensors/trunk/src/smbus.c
r54 r67 188 188 int num) 189 189 { 190 #ifdef DEBUG 190 191 printk("smbus.o: smbus_master_xfer called for adapter `%s' " 191 192 "(no i2c level access possible!)\n", 192 193 adap->name); 193 194 return -1; 195 #endif 194 196 } 195 197 … … 197 199 int smbus_slave_send (struct smbus_adapter *adap, char *data, int len) 198 200 { 201 #ifdef DEBUG 199 202 printk("smbus.o: smbus_slave_send called for adapter `%s' " 200 203 "(no i2c level access possible!)\n", 201 204 adap->name); 202 205 return -1; 206 #endif 203 207 } 204 208 … … 206 210 int smbus_slave_recv (struct smbus_adapter *adap, char *data, int len) 207 211 { 212 #ifdef DEBUG 208 213 printk("smbus.o: smbus_slave_recv called for adapter `%s' " 209 214 "(no i2c level access possible!)\n", 210 215 adap->name); 211 216 return -1; 217 #endif 212 218 } 213 219
