Re: i2c BUG easy fix?

Sir Ace (chandler@nateng.com)
Tue, 24 Jun 2003 18:39:32 -0700 (PDT)


It looks like the offending code might be in:
i2c-algo-bit.c

in function:
static int test_bus(struct i2c_algo_bit_data *adap, char* name) {

I'm no coder but it looks like it is limited to 4 devices as a hardcode?
anyone know of a way to do it so that it does:

for x := {n devices} do
crap

On Tue, 24 Jun 2003, Sir Ace wrote:

>
> I have 5 vidcapture cards, all of which show up in /proc/pci
> Only the first 4 show up in /proc/bus/i2c*
>
> I tried this on 2 completely unidentical systems, and both 2.4.21, and
> 2.4.20
>
> I verified that all 5 cards are actually good... {before people start
> pointing fingers}
>
> Where do I need to start looking to fix it?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/