Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: CX88 i2c issue w/ DVB tuners
Holger Waechtler wrote:
> $ wc -l include/linux/i2c* drivers/i2c/*.[hc]drivers/i2c/algos/*.[hc]
> drivers/i2c/busses/*.[ch]
> 54 include/linux/i2c-algo-bit.h
> 69 include/linux/i2c-algo-ite.h
> 49 include/linux/i2c-algo-pcf.h
> 48 include/linux/i2c-dev.h
> 292 include/linux/i2c-id.h
> 299 include/linux/i2c-sensor.h
> 62 include/linux/i2c-vid.h
> 604 include/linux/i2c.h
> 1316 drivers/i2c/i2c-core.c
> 560 drivers/i2c/i2c-dev.c
> 167 drivers/i2c/i2c-sensor.c
> 573 drivers/i2c/algos/i2c-algo-bit.c
> 829 drivers/i2c/algos/i2c-algo-ite.c
> 117 drivers/i2c/algos/i2c-algo-ite.h
> 477 drivers/i2c/algos/i2c-algo-pcf.c
> 76 drivers/i2c/algos/i2c-algo-pcf.h
> 546 drivers/i2c/busses/i2c-ali1535.c
> 418 drivers/i2c/busses/i2c-ali1563.c
> 535 drivers/i2c/busses/i2c-ali15x3.c
> 418 drivers/i2c/busses/i2c-amd756.c
> 413 drivers/i2c/busses/i2c-amd8111.c
> 279 drivers/i2c/busses/i2c-elektor.c
> 86 drivers/i2c/busses/i2c-frodo.c
> 186 drivers/i2c/busses/i2c-hydra.c
> 649 drivers/i2c/busses/i2c-i801.c
> 258 drivers/i2c/busses/i2c-i810.c
> 831 drivers/i2c/busses/i2c-ibm_iic.c
> 124 drivers/i2c/busses/i2c-ibm_iic.h
> 535 drivers/i2c/busses/i2c-iop3xx.c
> 118 drivers/i2c/busses/i2c-iop3xx.h
> 72 drivers/i2c/busses/i2c-isa.c
> 272 drivers/i2c/busses/i2c-ite.c
> 181 drivers/i2c/busses/i2c-ixp4xx.c
> 764 drivers/i2c/busses/i2c-keywest.c
> 108 drivers/i2c/busses/i2c-keywest.h
> 405 drivers/i2c/busses/i2c-nforce2.c
> 175 drivers/i2c/busses/i2c-parport-light.c
> 267 drivers/i2c/busses/i2c-parport.c
> 94 drivers/i2c/busses/i2c-parport.h
> 518 drivers/i2c/busses/i2c-piix4.c
> 339 drivers/i2c/busses/i2c-prosavage.c
> 102 drivers/i2c/busses/i2c-rpx.c
> 203 drivers/i2c/busses/i2c-savage4.c
> 417 drivers/i2c/busses/i2c-sis5595.c
> 520 drivers/i2c/busses/i2c-sis630.c
> 366 drivers/i2c/busses/i2c-sis96x.c
> 183 drivers/i2c/busses/i2c-via.c
> 482 drivers/i2c/busses/i2c-viapro.c
> 252 drivers/i2c/busses/i2c-voodoo3.c
> 555 drivers/i2c/busses/scx200_acb.c
> 131 drivers/i2c/busses/scx200_i2c.c
> 17394 total
This just shows that a bus driver has 100..500 lines of code.
And nearly half of i2c-core is SMBUS stuff which doesn't really
hurt but could probably be made #ifdef CONFIG_SMBUS.
i2c-dev is optional but IMHO useful for debugging.
And bit-banging is optional but already there if you need it.
I don't get what your problem is with kernel I2C. IMHO there
is nothing which a few simple patches couldn't fix.
Johannes
Home |
Main Index |
Thread Index