Getting Information from Multiple nodes

Praveen kumar chatpravi at gmail.com
Wed Nov 16 07:30:04 EST 2011


Hi All,
        I have a I2C chip driver,and there are two identical chips on two
different i2c bus.
I have registered the driver and initialized it and created two nodes
/dev/chip_0 and /dev/chip_1

If I open the node from user how will I make driver identify which device
to access .ie in the ioctl.

Am I clear ???

Praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111116/c772ad03/attachment.html 


More information about the Kernelnewbies mailing list