public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix Kconfig for I2C-Algos
@ 2008-06-16 17:24 Christian Gmeiner
       [not found] ` <3192d3cd0806161024u6a07abddpe4af78b3bb6ec4e7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Gmeiner @ 2008-06-16 17:24 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]

HI,

this patch fixes wrong kconf file so that it will be possible to
select wanted i2c algorithms.

greets,
Christian Gmeiner

[-- Attachment #2: i2c_kconfig.patch --]
[-- Type: application/octet-stream, Size: 584 bytes --]

diff --git a/drivers/i2c/algos/Kconfig b/drivers/i2c/algos/Kconfig
index 7137a17..91d7fff 100644
--- a/drivers/i2c/algos/Kconfig
+++ b/drivers/i2c/algos/Kconfig
@@ -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

[-- Attachment #3: Type: text/plain, Size: 157 bytes --]

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix Kconfig for I2C-Algos
       [not found] ` <3192d3cd0806161024u6a07abddpe4af78b3bb6ec4e7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-06-16 18:15   ` Jean Delvare
       [not found]     ` <3192d3cd0806162300j2b8e93a4h3d3c17919d0d562@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2008-06-16 18:15 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA

Hi Christian,

On Mon, 16 Jun 2008 17:24:59 +0000, Christian Gmeiner wrote:
> 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:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3845de25c5f83cd52729570f7b501679d37ca8de

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.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix Kconfig for I2C-Algos
       [not found]       ` <3192d3cd0806162300j2b8e93a4h3d3c17919d0d562-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-06-17  6:01         ` Christian Gmeiner
       [not found]           ` <3192d3cd0806162301r1acdc66eo7f0676b17db8ddee-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Gmeiner @ 2008-06-17  6:01 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA

Hi Jean,

>
> 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
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix Kconfig for I2C-Algos
       [not found]           ` <3192d3cd0806162301r1acdc66eo7f0676b17db8ddee-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-06-17  6:36             ` Jean Delvare
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2008-06-17  6:36 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA

On Tue, 17 Jun 2008 06:01:52 +0000, Christian Gmeiner wrote:
> > 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.

> 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.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-17  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 17:24 [PATCH] Fix Kconfig for I2C-Algos Christian Gmeiner
     [not found] ` <3192d3cd0806161024u6a07abddpe4af78b3bb6ec4e7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-06-16 18:15   ` Jean Delvare
     [not found]     ` <3192d3cd0806162300j2b8e93a4h3d3c17919d0d562@mail.gmail.com>
     [not found]       ` <3192d3cd0806162300j2b8e93a4h3d3c17919d0d562-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-06-17  6:01         ` Christian Gmeiner
     [not found]           ` <3192d3cd0806162301r1acdc66eo7f0676b17db8ddee-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-06-17  6:36             ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox