Changeset 16
- Timestamp:
- 11/27/98 23:02:09 (10 years ago)
- Files:
-
- lm-sensors/trunk/Makefile (modified) (1 diff)
- lm-sensors/trunk/i2c/MODIFICATIONS (modified) (2 diffs)
- lm-sensors/trunk/i2c/i2c-core.c (modified) (3 diffs)
- lm-sensors/trunk/kernel/Module.mk (modified) (1 diff)
- lm-sensors/trunk/kernel/chips (added)
- lm-sensors/trunk/kernel/chips/lm78.c (added)
- lm-sensors/trunk/kernel/i2c-proc.c (added)
- lm-sensors/trunk/kernel/include/sensors.h (added)
- lm-sensors/trunk/src/Module.mk (modified) (1 diff)
- lm-sensors/trunk/src/i2c-bus.c (deleted)
- lm-sensors/trunk/src/i2c-proc.c (added)
- lm-sensors/trunk/src/lm78.c (added)
- lm-sensors/trunk/src/lm78.h (added)
- lm-sensors/trunk/src/sensors.h (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/Makefile
r11 r16 87 87 EXCFLAGS := -I. -O2 -Ii2c 88 88 89 ifeq ($(DEBUG),1) 90 CFLAGS += -DDEBUG 91 EXCFLAGS += -DDEBUG 92 endif 93 89 94 ifeq ($(SMP),1) 90 95 CFLAGS += -D__SMP__ lm-sensors/trunk/i2c/MODIFICATIONS
r8 r16 3 3 of these changes are important; you can still use a self-compiled version 4 4 of the i2c code and not compile the version in here. 5 6 ! Changes marked with an exclamation mark *are* important, and *must* 7 be applied! If there are changes like this in this list, you *must* 8 use our version of the i2c module! 9 10 Here come the changes: 5 11 6 12 * rscid declarations are changed … … 32 38 Everywhere, remakeable files are removed, to keep the source distribution 33 39 small and lean. 40 41 ! i2c-core: i2c_del_adapter() change 42 Replaced 43 i2c_detach_client(client); 44 with: 45 client->driver->detach_client(client); lm-sensors/trunk/i2c/i2c-core.c
r8 r16 18 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 19 /* ------------------------------------------------------------------------- */ 20 #define RCSID "$Id: i2c-core.c,v 1. 2 1998/11/03 03:48:44 philExp $"20 #define RCSID "$Id: i2c-core.c,v 1.3 1998/11/19 03:07:18 frodo Exp $" 21 21 /* ------------------------------------------------------------------------- */ 22 22 … … 174 174 * must be deleted, as this would cause invalid states. 175 175 */ 176 i2c_detach_client(client);176 client->driver->detach_client(client); 177 177 } 178 178 /* all done, now unregister */ … … 249 249 DEB2(printk("i2c: detaching client %s:\n", 250 250 client->name)); 251 /*i2c_detach_client(client);*/251 i2c_detach_client(client); 252 252 driver->detach_client(client); 253 253 } lm-sensors/trunk/kernel/Module.mk
r15 r16 24 24 # defined value verbatim into the command-list of rules... 25 25 SRCTARGETS := $(MODULE_DIR)/smbus.o $(MODULE_DIR)/piix4.o $(MODULE_DIR)/isa.o \ 26 $(MODULE_DIR)/lm78.o $(MODULE_DIR)/i2c- bus.o26 $(MODULE_DIR)/lm78.o $(MODULE_DIR)/i2c-proc.o 27 27 28 28 # Include all dependency files lm-sensors/trunk/src/Module.mk
r15 r16 24 24 # defined value verbatim into the command-list of rules... 25 25 SRCTARGETS := $(MODULE_DIR)/smbus.o $(MODULE_DIR)/piix4.o $(MODULE_DIR)/isa.o \ 26 $(MODULE_DIR)/lm78.o $(MODULE_DIR)/i2c- bus.o26 $(MODULE_DIR)/lm78.o $(MODULE_DIR)/i2c-proc.o 27 27 28 28 # Include all dependency files
