Changeset 42
- Timestamp:
- 12/06/98 17:19:24 (15 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 9 modified
-
kernel/Module.mk (modified) (1 diff)
-
kernel/include/i2c-isa.h (modified) (4 diffs)
-
kernel/include/isa.h (modified) (4 diffs)
-
kernel/include/sensors.h (modified) (1 diff)
-
kernel/include/smbus.h (modified) (2 diffs)
-
src/Module.mk (modified) (1 diff)
-
src/isa.h (modified) (4 diffs)
-
src/sensors.h (modified) (1 diff)
-
src/smbus.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/Module.mk
r29 r42 27 27 $(MODULE_DIR)/i2c-proc.o $(MODULE_DIR)/lm75.o 28 28 29 HEADERFILES := $(MODULE_DIR)/sensors.h 29 HEADERFILES := $(MODULE_DIR)/sensors.h $(MODULE_DIR)/isa.h \ 30 $(MODULE_DIR)/smbus.h 30 31 31 32 # Include all dependency files -
lm-sensors/trunk/kernel/include/i2c-isa.h
r13 r42 21 21 #define SENSORS_SENSOR_H 22 22 23 #ifdef __KERNEL__ 24 23 25 /* This file must interface with Simon Vogl's i2c driver. Version 19981006 is 24 26 OK, earlier versions are not; later versions will probably give problems 25 27 too. 26 28 */ 27 #ifdef I2C28 #include "i2c/i2c.h"29 #else /* def I2C */30 #include <linux/i2c.h>31 #endif /* def I2C */32 33 29 #include <asm/types.h> 34 30 … … 40 36 #endif 41 37 42 #include "isa.h" 38 #ifdef LM_SENSORS 39 #include "i2c.h" 40 #else /* ndef LM_SENSORS */ 41 #include <linux/i2c.h> 42 #endif /* def LM_SENSORS */ 43 43 44 44 /* Note that this driver is *not* built upon smbus.c, but is parallel to it. … … 118 118 }; 119 119 120 /* We need to mark ISA algorithms in the algorithm structure. */121 #define ALGO_ISA 0x50000122 123 /* ISA Adapter ids */124 #define ISA_MAIN 1125 120 126 121 /* Detect whether we are on the isa bus. If this returns true, all i2c … … 152 147 i2c_detach_client((struct i2c_client *) (clientptr)) 153 148 149 #endif /* def __KERNEL__ */ 150 151 /* We need to mark ISA algorithms in the algorithm structure. */ 152 #define ALGO_ISA 0x50000 153 154 /* ISA Adapter ids */ 155 #define ISA_MAIN 1 154 156 155 157 #endif /* ndef SENSORS_ISA_H */ -
lm-sensors/trunk/kernel/include/isa.h
r13 r42 21 21 #define SENSORS_SENSOR_H 22 22 23 #ifdef __KERNEL__ 24 23 25 /* This file must interface with Simon Vogl's i2c driver. Version 19981006 is 24 26 OK, earlier versions are not; later versions will probably give problems 25 27 too. 26 28 */ 27 #ifdef I2C28 #include "i2c/i2c.h"29 #else /* def I2C */30 #include <linux/i2c.h>31 #endif /* def I2C */32 33 29 #include <asm/types.h> 34 30 … … 40 36 #endif 41 37 42 #include "isa.h" 38 #ifdef LM_SENSORS 39 #include "i2c.h" 40 #else /* ndef LM_SENSORS */ 41 #include <linux/i2c.h> 42 #endif /* def LM_SENSORS */ 43 43 44 44 /* Note that this driver is *not* built upon smbus.c, but is parallel to it. … … 118 118 }; 119 119 120 /* We need to mark ISA algorithms in the algorithm structure. */121 #define ALGO_ISA 0x50000122 123 /* ISA Adapter ids */124 #define ISA_MAIN 1125 120 126 121 /* Detect whether we are on the isa bus. If this returns true, all i2c … … 152 147 i2c_detach_client((struct i2c_client *) (clientptr)) 153 148 149 #endif /* def __KERNEL__ */ 150 151 /* We need to mark ISA algorithms in the algorithm structure. */ 152 #define ALGO_ISA 0x50000 153 154 /* ISA Adapter ids */ 155 #define ISA_MAIN 1 154 156 155 157 #endif /* ndef SENSORS_ISA_H */ -
lm-sensors/trunk/kernel/include/sensors.h
r29 r42 21 21 #define SENSORS_SENSORS_H 22 22 23 #ifdef __KERNEL__ 24 23 25 /* Next two must be included before sysctl.h can be included, in 2.0 kernels */ 24 26 #include <linux/types.h> 25 27 #include <linux/fs.h> 26 28 #include <linux/sysctl.h> 27 28 #ifdef __KERNEL__29 29 30 30 /* The type of callback functions used in sensors_{proc,sysctl}_real */ -
lm-sensors/trunk/kernel/include/smbus.h
r34 r42 27 27 too. 28 28 */ 29 #include "i2c.h"30 29 #include <asm/types.h> 31 30 … … 35 34 #else 36 35 #include <asm/semaphore.h> 36 #endif 37 38 #ifdef LM_SENSORS 39 #include "i2c.h" 40 #else 41 #include <linux/i2c.h> 37 42 #endif 38 43 -
lm-sensors/trunk/src/Module.mk
r29 r42 27 27 $(MODULE_DIR)/i2c-proc.o $(MODULE_DIR)/lm75.o 28 28 29 HEADERFILES := $(MODULE_DIR)/sensors.h 29 HEADERFILES := $(MODULE_DIR)/sensors.h $(MODULE_DIR)/isa.h \ 30 $(MODULE_DIR)/smbus.h 30 31 31 32 # Include all dependency files -
lm-sensors/trunk/src/isa.h
r13 r42 21 21 #define SENSORS_SENSOR_H 22 22 23 #ifdef __KERNEL__ 24 23 25 /* This file must interface with Simon Vogl's i2c driver. Version 19981006 is 24 26 OK, earlier versions are not; later versions will probably give problems 25 27 too. 26 28 */ 27 #ifdef I2C28 #include "i2c/i2c.h"29 #else /* def I2C */30 #include <linux/i2c.h>31 #endif /* def I2C */32 33 29 #include <asm/types.h> 34 30 … … 40 36 #endif 41 37 42 #include "isa.h" 38 #ifdef LM_SENSORS 39 #include "i2c.h" 40 #else /* ndef LM_SENSORS */ 41 #include <linux/i2c.h> 42 #endif /* def LM_SENSORS */ 43 43 44 44 /* Note that this driver is *not* built upon smbus.c, but is parallel to it. … … 118 118 }; 119 119 120 /* We need to mark ISA algorithms in the algorithm structure. */121 #define ALGO_ISA 0x50000122 123 /* ISA Adapter ids */124 #define ISA_MAIN 1125 120 126 121 /* Detect whether we are on the isa bus. If this returns true, all i2c … … 152 147 i2c_detach_client((struct i2c_client *) (clientptr)) 153 148 149 #endif /* def __KERNEL__ */ 150 151 /* We need to mark ISA algorithms in the algorithm structure. */ 152 #define ALGO_ISA 0x50000 153 154 /* ISA Adapter ids */ 155 #define ISA_MAIN 1 154 156 155 157 #endif /* ndef SENSORS_ISA_H */ -
lm-sensors/trunk/src/sensors.h
r29 r42 21 21 #define SENSORS_SENSORS_H 22 22 23 #ifdef __KERNEL__ 24 23 25 /* Next two must be included before sysctl.h can be included, in 2.0 kernels */ 24 26 #include <linux/types.h> 25 27 #include <linux/fs.h> 26 28 #include <linux/sysctl.h> 27 28 #ifdef __KERNEL__29 29 30 30 /* The type of callback functions used in sensors_{proc,sysctl}_real */ -
lm-sensors/trunk/src/smbus.h
r34 r42 27 27 too. 28 28 */ 29 #include "i2c.h"30 29 #include <asm/types.h> 31 30 … … 35 34 #else 36 35 #include <asm/semaphore.h> 36 #endif 37 38 #ifdef LM_SENSORS 39 #include "i2c.h" 40 #else 41 #include <linux/i2c.h> 37 42 #endif 38 43
