Import changeset
[linux-flexiantxendom0-3.2.10.git] / drivers / i2c / Config.in
1 #
2 # Character device configuration
3 #
4 mainmenu_option next_comment
5 comment 'I2C support'
6
7 tristate 'I2C support' CONFIG_I2C
8
9 if [ "$CONFIG_I2C" != "n" ]; then
10
11    dep_tristate 'I2C bit-banging interfaces'  CONFIG_I2C_ALGOBIT $CONFIG_I2C
12    if [ "$CONFIG_I2C_ALGOBIT" != "n" ]; then
13       dep_tristate '  Philips style parallel port adapter' CONFIG_I2C_PHILIPSPAR $CONFIG_I2C_ALGOBIT $CONFIG_PARPORT
14       dep_tristate '  ELV adapter' CONFIG_I2C_ELV $CONFIG_I2C_ALGOBIT
15       dep_tristate '  Velleman K9000 adapter' CONFIG_I2C_VELLEMAN $CONFIG_I2C_ALGOBIT
16    fi
17
18    dep_tristate 'I2C PCF 8584 interfaces' CONFIG_I2C_ALGOPCF $CONFIG_I2C
19    if [ "$CONFIG_I2C_ALGOPCF" != "n" ]; then
20       dep_tristate '  Elektor ISA card' CONFIG_I2C_ELEKTOR $CONFIG_I2C_ALGOPCF
21    fi
22
23 # This is needed for automatic patch generation: sensors code starts here
24 # This is needed for automatic patch generation: sensors code ends here
25
26    dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C
27
28 fi
29 endmenu