Changeset 3694

Show
Ignore:
Timestamp:
09/09/02 02:41:18 (11 years ago)
Author:
mds
Message:

(mds)

add i2c-algo-8xx.[ch], i2c-adap-ibm_ocp.c,
i2c-algo-ibm_ocp.[ch], i2c-frodo, i2c-rpx to mkpatch.

These already went in kernel 2.5.32 in Albert's patch.

Location:
i2c/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/CHANGES

    r3692 r3694  
    1919 
    20202.6.5 (2002????) 
    21   mkpatch: Remove i2c-algo-8xx.o target causing kernel to not compile; 
    22            add doc/i2c-old-porting, i2c-algo-8xx.[ch] 
     21  mkpatch: Fix i2c-algo-8xx.o target causing kernel to not compile; 
     22           add doc/i2c-old-porting, i2c-algo-8xx.[ch], i2c-adap-ibm_ocp.c, 
     23           i2c-algo-ibm_ocp.[ch], i2c-frodo, i2c-rpx 
    2324  i2c-core.c: Remove buffer size limit in i2cproc_bus_read() 
    2425  i2c-adap-ibm_ocp.c ,i2c-elektor.c ,i2c-pcf-epp.c : Replaced depreciated cli() 
     
    3435  i2c-id.h: Add driver IDs for MPC824X, SIS630, SIS645 
    3536 
    36 2.6.4 (20020719) 
     372.6.4 (20020719)        (in kernel 2.5.32) 
    3738  doc/i2c-old-porting: New 
    3839  i2c.h: Add defines for SMBus 2.0 
  • i2c/trunk/mkpatch/Config.in

    r3655 r3694  
    1414      dep_tristate '  ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT 
    1515      dep_tristate '  Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT 
     16      if [ "$CONFIG_ARCH_SA1100" = "y" ]; then 
     17         dep_tristate 'SA1100 I2C Adapter' CONFIG_I2C_FRODO $CONFIG_I2C_ALGOBIT 
     18      fi 
    1619   fi 
    1720 
     
    2124   fi 
    2225 
     26   if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then 
     27      dep_tristate 'ITE I2C Algorithm' CONFIG_ITE_I2C_ALGO $CONFIG_I2C 
     28      if [ "$CONFIG_ITE_I2C_ALGO" != "n" ]; then 
     29         dep_tristate '  ITE I2C Adapter' CONFIG_ITE_I2C_ADAP $CONFIG_ITE_I2C_ALGO 
     30      fi 
     31   fi 
    2332   if [ "$CONFIG_8xx" = "y" ]; then 
    2433      dep_tristate 'MPC8xx CPM I2C interface' CONFIG_I2C_ALGO8XX $CONFIG_I2C 
     
    2736      fi 
    2837   fi 
    29  
    3038   if [ "$CONFIG_IBM_OCP" = "y" ]; then 
    3139      dep_tristate 'IBM on-chip I2C Algorithm' CONFIG_I2C_IBM_OCP_ALGO $CONFIG_I2C 
     
    3543   fi 
    3644 
    37  
    3845# This is needed for automatic patch generation: sensors code starts here 
    3946# This is needed for automatic patch generation: sensors code ends here 
    4047 
    4148   dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C 
    42  
    4349   dep_tristate 'I2C /proc interface (required for hardware sensors)' CONFIG_I2C_PROC $CONFIG_I2C $CONFIG_SYSCTL 
    4450 
  • i2c/trunk/mkpatch/FILES

    r3680 r3694  
     1kernel/i2c-adap-ibm_ocp.c       drivers/i2c/i2c-adap-ibm_ocp.c 
     2kernel/i2c-algo-8xx.c           drivers/i2c/i2c-algo-8xx.c 
     3kernel/i2c-algo-bit.c           drivers/i2c/i2c-algo-bit.c 
     4kernel/i2c-algo-ibm_ocp.c       drivers/i2c/i2c-algo-ibm_ocp.c 
     5kernel/i2c-algo-pcf.c           drivers/i2c/i2c-algo-pcf.c 
    16kernel/i2c-core.c               drivers/i2c/i2c-core.c 
    27kernel/i2c-dev.c                drivers/i2c/i2c-dev.c 
    3 kernel/i2c-algo-bit.c           drivers/i2c/i2c-algo-bit.c 
    4 kernel/i2c-algo-pcf.c           drivers/i2c/i2c-algo-pcf.c 
    58kernel/i2c-elektor.c            drivers/i2c/i2c-elektor.c 
    69kernel/i2c-elv.c                drivers/i2c/i2c-elv.c 
     10kernel/i2c-frodo.c              drivers/i2c/i2c-frodo.c 
    711kernel/i2c-philips-par.c        drivers/i2c/i2c-philips-par.c 
     12kernel/i2c-proc.c               drivers/i2c/i2c-proc.c 
     13kernel/i2c-rpx.c                drivers/i2c/i2c-rpx.c 
    814kernel/i2c-velleman.c           drivers/i2c/i2c-velleman.c 
    9 kernel/i2c-proc.c               drivers/i2c/i2c-proc.c 
    10 kernel/i2c-pcf8584.h            drivers/i2c/i2c-pcf8584.h 
    11 kernel/i2c-adap-ibm_ocp.c       drivers/i2c/i2c-adap-ibm_ocp.c 
    12 kernel/i2c-algo-ibm_ocp.c       drivers/i2c/i2c-algo-ibm_ocp.c 
    13 kernel/i2c-algo-8xx.c           drivers/i2c/i2c-algo-8xx.c 
    1415kernel/i2c.h                    include/linux/i2c.h 
    1516kernel/i2c-dev.h                include/linux/i2c-dev.h 
     17kernel/i2c-algo-8xx.h           include/linux/i2c-algo-8xx.h 
    1618kernel/i2c-algo-bit.h           include/linux/i2c-algo-bit.h 
     19kernel/i2c-algo-ibm_ocp.h       include/linux/i2c-algo-ibm_ocp.h 
    1720kernel/i2c-algo-pcf.h           include/linux/i2c-algo-pcf.h 
    1821kernel/i2c-elektor.h            include/linux/i2c-elektor.h 
    1922kernel/i2c-id.h                 include/linux/i2c-id.h 
     23kernel/i2c-pcf8584.h            drivers/i2c/i2c-pcf8584.h 
    2024kernel/i2c-proc.h               include/linux/i2c-proc.h 
    21 kernel/i2c-algo-ibm_ocp.h       include/linux/i2c-algo-ibm_ocp.h 
    22 kernel/i2c-algo-8xx.h           include/linux/i2c-algo-8xx.h 
    2325mkpatch/Config.in               drivers/i2c/Config.in 
    2426doc/dev-interface               Documentation/i2c/dev-interface 
  • i2c/trunk/mkpatch/INCLUDES

    r3527 r3694  
    66"i2c-id.h"              <linux/i2c-id.h> 
    77"i2c-proc.h"            <linux/i2c-proc.h> 
     8"i2c-algo-8xx.h"        <linux/i2c-algo-8xx.h> 
     9"i2c-algo-ibm_ocp.h"    <linux/i2c-algo-ibm_ocp.h> 
  • i2c/trunk/mkpatch/mkpatch.pl

    r3676 r3694  
    255255  The module will be called i2c-elektor.o. 
    256256 
     257Motorola 8xx I2C algorithm 
     258CONFIG_I2C_ALGO8XX 
     259  This is the algorithm that allows you to use Motorola 8xx I2C adapters. 
     260 
     261  This driver is also available as a module.  If you want to compile 
     262  it as a module, say M here and read 
     263  <file:Documentation/modules.txt>. 
     264  The module will be called i2c-algo-8xx.o. 
     265 
     266Motorola 8xx I2C interface 
     267CONFIG_I2C_RPXLITE 
     268  This supports the Motorola 8xx I2C device. 
     269 
     270  This driver is also available as a module.  If you want to compile 
     271  it as a module, say M here and read 
     272  <file:Documentation/modules.txt>. 
     273  The module will be called i2c-rpx.o. 
     274 
     275IBM 405 I2C algorithm 
     276CONFIG_I2C_IBM_OCP_ALGO 
     277  This is the algorithm that allows you to use IBM 405 I2C adapters. 
     278 
     279  This driver is also available as a module.  If you want to compile 
     280  it as a module, say M here and read 
     281  <file:Documentation/modules.txt>. 
     282  The module will be called i2c-algo-ibm_ocp.o. 
     283 
     284IBM 405 I2C interface 
     285CONFIG_I2C_IBM_OCP_ADAP 
     286  This supports the IBM 405 I2C device. 
     287 
     288  This driver is also available as a module.  If you want to compile 
     289  it as a module, say M here and read 
     290  <file:Documentation/modules.txt>. 
     291  The module will be called i2c-adap-ibm_ocp.o. 
     292 
     293StrongARM SA-1110 interface 
     294CONFIG_I2C_FRODO 
     295  This supports the StrongARM SA-1110 Development Board. 
     296 
     297  This driver is also available as a module.  If you want to compile 
     298  it as a module, say M here and read 
     299  <file:Documentation/modules.txt>. 
     300  The module will be called i2c-frodo.o. 
     301 
    257302I2C device interface 
    258303CONFIG_I2C_CHARDEV 
     
    343388  close INPUT; 
    344389  close OUTPUT; 
    345   die "Automatic patch generation for `Makefile' failed.\n". 
     390  die "Automatic patch generation for main `Makefile' failed.\n". 
    346391      "See our home page http://www.lm-sensors.nu for assistance!" if $printed == 0; 
    347392  print_diff $package_root,$kernel_root,$kernel_file,$package_file; 
     
    397442      redo MAIN; 
    398443    } 
     444# 2.5 kernels 
     445#   if (m@^obj.*CONFIG_I2C@) { 
     446#   } 
    399447    if (not $printed and 
    400448        (m@^include \$\(TOPDIR\)/Rules.make$@ or 
     
    425473  close INPUT; 
    426474  close OUTPUT; 
    427   die "Automatic patch generation for `Makefile' failed.\n". 
     475  die "Automatic patch generation for `drivers/Makefile' failed.\n". 
    428476      "See our home page http://www.lm-sensors.nu for assistance!" if $printed == 0 or $added == 0; 
    429477  print_diff $package_root,$kernel_root,$kernel_file,$package_file; 
     
    452500} 
    453501 
     502# This generates diffs for drivers/i2c/Makefile 
     503# for either 'old style' or 'new style'. 
     504# Don't bother putting in 'old style' support for new architectures 
     505# like 8xx, IBM405, or StrongARM since they aren't supported 
     506# in old kernels anyway. 
    454507sub gen_drivers_i2c_Makefile 
    455508{ 
     
    473526O_TARGET := i2c.o 
    474527 
    475 export-objs     := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o i2c-proc.o 
     528export-objs     := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o \ 
     529                   i2c-algo-8xx.o i2c-rpx.o i2c-proc.o \ 
     530                   i2c-algo-ibm_ocp.o i2c-adap-ibm_ocp.o 
    476531 
    477532obj-$(CONFIG_I2C)               += i2c-core.o 
     
    484539obj-$(CONFIG_I2C_ELEKTOR)       += i2c-elektor.o 
    485540obj-$(CONFIG_I2C_PROC)          += i2c-proc.o 
     541obj-$(CONFIG_I2C_ALGO8XX)       += i2c-algo-8xx.o 
     542obj-$(CONFIG_I2C_RPXLITE)       += i2c-rpx.o 
     543obj-$(CONFIG_I2C_IBM_OCP_ALGO)  += i2c-algo-ibm_ocp.o 
     544obj-$(CONFIG_I2C_IBM_OCP_ADAP)  += i2c-adap-ibm_ocp.o 
     545obj-$(CONFIG_I2C_FRODO)         += i2c-frodo.o 
    486546 
    487547# This is needed for automatic patch generation: sensors code starts here