Changeset 549
- Timestamp:
- 09/10/99 16:55:08 (9 years ago)
- Files:
-
- lm-sensors/trunk/TODO (modified) (1 diff)
- lm-sensors/trunk/doc/mkpatch (added)
- lm-sensors/trunk/mkpatch/Config.in (modified) (1 diff)
- lm-sensors/trunk/mkpatch/mkpatch.pl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/TODO
r516 r549 57 57 tsx-11.mit.edu /pub/linux/sources/sbin or 58 58 sunsite.unc.edu /pub/linux/system/daemons/watchdog 59 * Add experimental drivers lm-sensors/trunk/mkpatch/Config.in
r516 r549 17 17 dep_tristate ' National Semiconductors LM80' CONFIG_SENSORS_LM80 $CONFIG_SENSORS 18 18 dep_tristate ' Silicon Integrated Systems Corp. SiS5595' CONFIG_SENSORS_SIS5595 $CONFIG_SENSORS 19 dep_tristate ' W estern DigitalW83781D, W83782D and W83783S' CONFIG_SENSORS_W83781D $CONFIG_SENSORS19 dep_tristate ' Winbond W83781D, W83782D and W83783S' CONFIG_SENSORS_W83781D $CONFIG_SENSORS 20 20 bool ' Other I2C devices' CONFIG_SENSORS_OTHER 21 21 if [ "$CONFIG_SENSORS_OTHER" = "y" ] ; then lm-sensors/trunk/mkpatch/mkpatch.pl
r545 r549 23 23 $temp = "mkpatch/.temp"; 24 24 25 # Generate a diff between the old kernel file and the new I2C file. We 26 # arrange the headers to tell us the old tree was under directory 27 # `linux-old', and the new tree under `linux'. 25 28 # $_[0]: sensors package root (like /tmp/sensors) 26 29 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 56 59 57 60 61 # This generates diffs for the main Linux Makefile. 62 # Three lines which add drivers/sensors/sensors.a to the DRIVERS list are 63 # put just before the place where the architecture Makefile is included. 64 # Of course, care is taken old lines are removed. 58 65 # $_[0]: sensors package root (like /tmp/sensors) 59 66 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 89 96 } 90 97 98 # This generates diffs for drivers/Makefile 99 # First, `sensors' is added to the ALL_SUB_DIRS list. Next, a couple of lines 100 # to add sensors to the SUB_DIRS and/or MOD_SUB_DIRS lists is put right before 101 # Rules.make is included. 102 # Of course, care is taken old lines are removed. 91 103 # $_[0]: sensors package root (like /tmp/sensors) 92 104 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 138 150 } 139 151 152 # This generates diffs for drivers/char/Config.in 153 # It adds a line just before CONFIG_APM or main_menu_option lines to include 154 # the sensors Config.in. 155 # Of course, care is taken old lines are removed. 140 156 # $_[0]: sensors package root (like /tmp/sensors) 141 157 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 170 186 171 187 188 # This generates diffs for drivers/char/mem.c They are a bit intricate. 189 # Lines are generated at the beginning to declare sensors_init_all 190 # At the bottom, a call to sensors_init_all is added when the 191 # new lm_sensors stuff is configured in. 192 # Of course, care is taken old lines are removed. 172 193 # $_[0]: sensors package root (like /tmp/sensors) 173 194 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 222 243 223 244 245 # This generates diffs for drivers/i2c/Config.in 246 # Several adapter drivers that are included in the lm_sensors package are 247 # added at the bottom. 248 # Of course, care is taken old lines are removed. 224 249 # $_[0]: sensors package root (like /tmp/sensors) 225 250 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 260 285 } 261 286 287 # This generates diffs for drivers/i2c/Makefile. 288 # Lines to add correct files to M_OBJS and/or L_OBJS are added just before 289 # Rules.make is included 290 # Of course, care is taken old lines are removed. 262 291 # $_[0]: sensors package root (like /tmp/sensors) 263 292 # $_[1]: Linux kernel tree (like /usr/src/linux) … … 330 359 } 331 360 361 # This generates diffs for drivers/i2c/i2c-core.c 362 # Lines are generated at the beginning to declare several *_init functions. 363 # At the bottom, calls to them are added when the sensors stuff is configured 364 # in. 365 # $_[0]: sensors package root (like /tmp/sensors) 366 # $_[1]: Linux kernel tree (like /usr/src/linux) 332 367 sub gen_drivers_i2c_i2c_core_c 333 368 { … … 393 428 } 394 429 395 430 # Main function 396 431 sub main 397 432 {
