Config.in
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #
  2. # Character device configuration
  3. #
  4. mainmenu_option next_comment
  5. comment 'I2C support'
  6. tristate 'I2C support' CONFIG_I2C
  7. if [ "$CONFIG_I2C" != "n" ]; then
  8.    dep_tristate 'I2C bit-banging interfaces'  CONFIG_I2C_ALGOBIT $CONFIG_I2C
  9.    if [ "$CONFIG_I2C_ALGOBIT" != "n" ]; then
  10.       dep_tristate '  Philips style parallel port adapter' CONFIG_I2C_PHILIPSPAR $CONFIG_I2C_ALGOBIT $CONFIG_PARPORT
  11.       dep_tristate '  ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
  12.       dep_tristate '  Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
  13.    fi
  14.    dep_tristate 'I2C PCF 8584 interfaces' CONFIG_I2C_ALGOPCF $CONFIG_I2C
  15.    if [ "$CONFIG_I2C_ALGOPCF" != "n" ]; then
  16.       dep_tristate '  Elektor ISA card' CONFIG_I2C_ELEKTOR $CONFIG_I2C_ALGOPCF
  17.    fi
  18.    if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
  19.       dep_tristate 'ITE I2C Algorithm' CONFIG_ITE_I2C_ALGO $CONFIG_I2C
  20.       if [ "$CONFIG_ITE_I2C_ALGO" != "n" ]; then
  21.          dep_tristate '  ITE I2C Adapter' CONFIG_ITE_I2C_ADAP $CONFIG_ITE_I2C_ALGO
  22.       fi
  23.    fi
  24.    if [ "$CONFIG_8xx" = "y" ]; then
  25.       dep_tristate 'MPC8xx CPM I2C interface' CONFIG_I2C_ALGO8XX $CONFIG_I2C
  26.       if [ "$CONFIG_RPXLITE" = "y" -o "$CONFIG_RPXCLASSIC" = "y" ]; then
  27.          dep_tristate '  Embedded Planet RPX Lite/Classic suppoort' CONFIG_I2C_RPXLITE $CONFIG_I2C_ALGO8XX
  28.       fi
  29.    fi
  30.    if [ "$CONFIG_405" = "y" ]; then
  31.       dep_tristate 'PPC 405 I2C Algorithm' CONFIG_I2C_PPC405_ALGO $CONFIG_I2C
  32.       if [ "$CONFIG_I2C_PPC405_ALGO" != "n" ]; then
  33.          dep_tristate '  PPC 405 I2C Adapter' CONFIG_I2C_PPC405_ADAP $CONFIG_I2C_PPC405_ALGO
  34.       fi
  35.    fi
  36.    if [ "$CONFIG_ALL_PPC" = "y" ] ; then
  37.       dep_tristate 'Keywest I2C interface in Apple Core99 machines' CONFIG_I2C_KEYWEST $CONFIG_I2C
  38.    fi
  39. # This is needed for automatic patch generation: sensors code starts here
  40. # This is needed for automatic patch generation: sensors code ends here
  41.    dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C
  42.    dep_tristate 'I2C /proc interface (required for hardware sensors)' CONFIG_I2C_PROC $CONFIG_I2C
  43. fi
  44. endmenu