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/kernel/i2c.h

    r3501 r3527  
    550550                                        force} 
    551551 
     552/* Detect whether we are on the isa bus. If this returns true, all i2c 
     553   access will fail! */ 
     554#define i2c_is_isa_client(clientptr) \ 
     555        ((clientptr)->adapter->algo->id == I2C_ALGO_ISA) 
     556#define i2c_is_isa_adapter(adapptr) \ 
     557        ((adapptr)->algo->id == I2C_ALGO_ISA) 
     558 
    552559#endif /* def __KERNEL__ */ 
    553560#endif /* I2C_H */