Changeset 1111

Show
Ignore:
Timestamp:
06/02/01 06:02:23 (14 years ago)
Author:
mds
Message:

add support for i2c-tsunami; from Oleg Vdovikin's patch with

tweaks by me.

Location:
lm-sensors/trunk/mkpatch
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/mkpatch/FILES

    r1048 r1111  
    77kernel/busses/i2c-piix4.c       drivers/i2c/i2c-piix4.c 
    88kernel/busses/i2c-sis5595.c     drivers/i2c/i2c-sis5595.c 
     9kernel/busses/i2c-tsunami.c     drivers/i2c/i2c-tsunami.c 
    910kernel/busses/i2c-via.c         drivers/i2c/i2c-via.c 
    1011kernel/busses/i2c-viapro.c      drivers/i2c/i2c-viapro.c 
  • lm-sensors/trunk/mkpatch/mkpatch.pl

    r1099 r1111  
    187187  is running. 
    188188 
     189DEC Tsunami 21272 
     190CONFIG_I2C_TSUNAMI 
     191  If you say yes to this option, support will be included for the DEC 
     192  Tsunami chipset I2C adapter. Requires the Alpha architecture; 
     193  do not enable otherwise. This can also be built as a module which 
     194  can be inserted and removed while the kernel is running. 
     195 
    189196Pseudo ISA adapter (for hardware sensors modules) 
    190197CONFIG_I2C_ISA 
     
    635642    dep_tristate '  Apple Hydra Mac I/O' CONFIG_I2C_HYDRA $CONFIG_I2C_ALGOBIT 
    636643    tristate '  AMD 756' CONFIG_I2C_AMD756 
     644    dep_tristate '  DEC Tsunami I2C interface' CONFIG_I2C_TSUNAMI $CONFIG_I2C_ALGOBIT 
    637645    tristate '  Intel 82801AA, 82801AB and 82801BA' CONFIG_I2C_I801 
    638646    tristate '  Intel i810AA, i810AB and i815' CONFIG_I2C_I810 
     
    899907obj-$(CONFIG_I2C_PIIX4)                 += i2c-piix4.o 
    900908obj-$(CONFIG_I2C_SIS5595)               += i2c-sis5595.o 
     909obj-$(CONFIG_I2C_TSUNAMI)               += i2c-tsunami.o 
    901910obj-$(CONFIG_I2C_VIA)                   += i2c-via.o 
    902911obj-$(CONFIG_I2C_VIAPRO)                += i2c-viapro.o 
     
    966975  ifeq ($(CONFIG_I2C_SIS5595),m) 
    967976    M_OBJS += i2c-sis5595.o 
     977  endif 
     978endif 
     979 
     980ifeq ($(CONFIG_I2C_TSUNAMI),y) 
     981  L_OBJS += i2c-tsunami.o 
     982else  
     983  ifeq ($(CONFIG_I2C_TSUNAMI),m) 
     984    M_OBJS += i2c-tsunami.o 
    968985  endif 
    969986endif 
     
    10541071        extern int i2c_sis5595_init(void); 
    10551072#endif 
     1073#ifdef CONFIG_I2C_TSUNAMI 
     1074        extern int i2c_tsunami_init(void); 
     1075#endif 
    10561076#ifdef CONFIG_I2C_VIA 
    10571077        extern int i2c_via_init(void); 
     
    10861106#ifdef CONFIG_I2C_SIS5595 
    10871107        i2c_sis5595_init(); 
     1108#endif 
     1109#ifdef CONFIG_I2C_TSUNAMI 
     1110        i2c_tsunami_init(); 
    10881111#endif 
    10891112#ifdef CONFIG_I2C_VIA