Fix Kconfig for I2C-Algos
PATCH 1/1 Fix Kconfig for I2C-Algos
HI,
this patch fixes wrong kconf file so that it will be possible to select wanted i2c algorithms.
greets,
Christian Gmeiner
drivers/i2c/algos/Kconfig +7 -4
@@ -1,16 +1,19 @@ # # I2C algorithm drivers configuration # +menu "I2C Algorithms" config I2C_ALGOBIT - tristate + tristate "I2C bit-banging interfaces" config I2C_ALGOPCF - tristate + tristate "I2C PCF 8584 interfaces" config I2C_ALGOPCA - tristate + tristate "I2C PCA 9564 interfaces" config I2C_ALGO_SGI - tristate + tristate "I2C SGI interfaces" depends on SGI_IP22 || SGI_IP32 || X86_VISWS + +endmenu
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c
Hi Christian,
Quoted 2 lines · Christian Gmeiner
this patch fixes wrong kconf file so that it will be possible to select wanted i2c algorithms.
We moved in the exact opposite direction two months ago, on the basis that i2c bus drivers select the algorithm driver they need automatically so the user shouldn't have to care:
So, it's not a bug, it's a feature. If you have some i2c bus driver which needs an i2c algorithm driver and doesn't select it, fix that driver.
Signature · 6 lines
Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
Hi Jean,
Quoted 4 lines
So, it's not a bug, it's a feature. If you have some i2c bus driver which needs an i2c algorithm driver and doesn't select it, fix that driver.
I see, but whats the plan with external drivers, like
http://dxr3.sourceforge.net/ ?
Without the manual selection it is not possible to get it working.
Christian
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c
Quoted 6 lines · Christian Gmeiner
Quoted 3 lines
So, it's not a bug, it's a feature. If you have some i2c bus driver which needs an i2c algorithm driver and doesn't select it, fix that driver.
I see, but whats the plan with external drivers, like
http://dxr3.sourceforge.net/ ?
First of all: drivers living outside of the kernel tree, get the pain the deserve. Their authors should really merge their work in the kernel tree, to avoid this kind of problem and many others.
Quoted 1 line
Without the manual selection it is not possible to get it working.
Simply select any driver which needs i2c-algo-bit in the kernel tree. For example "I2C Hardware Bus support > Parallel port adapter (light)". This will select i2c-algo-bit for you.
Signature · 6 lines
Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c