From: Dave H. <dhy...@gm...> - 2007-06-07 02:21:09
|
Hi Imran, > int InitI2cIO (int i2cAddr) > > I saw the prototype of this function in: "i2c-io-gumstix.h" > (This file implements commands for performing I/O on the robostix via the > I2C bus) > > It's definitely your function, because your name is on the top! Well I can't find any file named i2c-io-gumstix.h in the source code repository, and I can't find any function name InitI2cIO. I tried: cd robostix grep -r -i InitI2cIO * So I think you must have copied one of my files and modified it (which is perhaps why my name is in it). > I'm going to suggest a change to the I2C framework code - and it's a > suggestion only! > I may be way off the money here (and please tell me if I am, and why), but > wouldn't it make more sense to allow for multiple I2c device descriptors to > be initialized? Yeah - I think it should allow both for multiple descriptors and possibly multiple addresses per descriptor. I need to take a closer look at the i2c-dev driver. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |