Show
Ignore:
Timestamp:
02/04/01 23:21:19 (12 years ago)
Author:
mds
Message:

Copy sensors.c and sensors.h from the lm_sensors package and

name them i2c-proc.c and i2c-proc.h.
Add DEVICEID's from sensors.h to i2c-id.h.
Add #defines from i2c-isa.h in lm_sensors to i2c.h.
Update mkpatch for i2c-proc.[ch].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/mkpatch/mkpatch.pl

    r3523 r3527  
    258258  module will be called i2c-dev.o. 
    259259 
     260I2C /proc support 
     261CONFIG_I2C_PROC 
     262  This provides support for i2c device entries in the /proc filesystem. 
     263  The entries will be found in /proc/sys/dev/sensors. 
     264 
     265  This code is also available as a module. If you want to compile 
     266  it as a module, say M here and read Documentation/modules.txt. The 
     267  module will be called i2c-dev.o. 
     268 
    260269EOF 
    261270      $printed = 1; 
     
    506515  ifeq ($(CONFIG_I2C_CHARDEV),m) 
    507516    M_OBJS += i2c-dev.o 
     517  endif 
     518endif 
     519 
     520ifeq ($(CONFIG_I2C_PROC),y) 
     521  L_OBJS += i2c-proc.o 
     522else 
     523  ifeq ($(CONFIG_I2C_PROC),m) 
     524    M_OBJS += i2c-proc.o 
    508525  endif 
    509526endif